怎么使用自定义segue,实现波纹跳转
来源:互联网 发布:python pyalgotrade 编辑:程序博客网 时间:2024/06/11 15:47
modal无法实现,push可能能够实现。
modal
presentModalViewController:animated:completion:^(void){ //code };
dismiss方法
dismissModalViewControllerAnimated: // 将要废弃,不赞成继续使用dismissViewControllerAnimated:completion:
CustomSegue
-(void)perform{
CATransition* animation = [CATransitionanimation];
[animationsetDuration:0.5f];
[animation setType:@"rippleEffect"];//波纹效果 @“rippleEffect”
[animation setTimingFunction:[CAMediaTimingFunctionfunctionWithName:kCAMediaTimingFunctionEaseOut]];
[[[self.destinationViewControllerview] layer]addAnimation:animation forKey:@"transition"];
[[selfsourceViewController] presentViewController:self.destinationViewController
animated:NO
completion:Nil];
}
push
- 怎么使用自定义segue,实现波纹跳转
- 使用segue进行页面跳转
- Android中水波纹使用之自定义视图实现
- Segue跳转
- segue跳转
- 使用storyboard的segue控制界面跳转
- 使用storyboard的segue控制界面跳转
- 使用storyboard的segue控制界面跳转
- iOS中使用storyboard实现页面跳转,Segue详解及简单的数据传递
- 自定义Drawable 实现波纹扩散效果
- 自定义segue
- 在Storyboard中使用自定义的segue来实现动画过渡
- 使用CSS实现按钮点击波纹效果
- Swift - 纯代码实现页面segue跳转,以及参数传递
- Swift - 纯代码实现页面segue跳转,以及参数传递
- iOS 一一 storyBoard中segue实现页面跳转
- iOS中storyboard故事板使用Segue跳转界面、传值
- iOS中storyboard故事板使用Segue跳转界面、传值
- 脚本xcode
- 一个问题
- Mybatis 之 resultMap简介(转)
- HDOJ2099
- UVA 10071 Back to High School Physics
- 怎么使用自定义segue,实现波纹跳转
- MYSQL数据库面试题
- Android Fragment完全解析,关于碎片你所需知道的一切
- CentOS 6.4安装配置LAMP服务器(Apache+PHP5+MySQL)
- leetcode substring without repeating characters
- IE访问HTTPS链接下载文件,IE提示无法下载
- This Android SDK requires Andriod Developer Toolkit version...Location of the Android SDK has not be
- unity制作2048
- 三层架构与MVC