博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
设置系统的viewController modal动画样式
阅读量:6938 次
发布时间:2019-06-27

本文共 671 字,大约阅读时间需要 2 分钟。

hot3.png

controller.modalTransitionStyle =UIModalTransitionStyleCoverVertical;//设置动画样式[self presentModalViewController:controller animated:YES];[self dismissModalViewController Animated:YES];
- (void)transitionFromViewController:(UIViewController *)fromViewController                     toViewController:(UIViewController *)toViewController                             duration:(NSTimeInterval)duration                              options:(UIViewAnimationOptions)options                           animations:(void (^)(void))animations                           completion:(void (^)(BOOL))completion{    //在此处可以重写ViewController的动画样式}

转载于:https://my.oschina.net/zdiovo/blog/418155

你可能感兴趣的文章
【评分】第二次作业——个人项目实战
查看>>
javascript实现页面跳转
查看>>
servlet和filter初始化
查看>>
设为首页 添加收藏
查看>>
MySQL相关命令
查看>>
15个nosql数据库
查看>>
react-router
查看>>
【转】jmeter学习笔记——脚本录制
查看>>
I/O(流)读写函数
查看>>
A Tour of Go Variables with initializers
查看>>
A Tour of Go Interfaces
查看>>
移动APP安全检测工具大全
查看>>
最大上升子矩阵
查看>>
加快网站访问速度
查看>>
stress工具使用指南和结果分析
查看>>
Mysql 慢查询之showprofile
查看>>
解決 VS2010 安装时遭遇 VC 9.0 Runtime 安装失败的问题
查看>>
Github 上的 iOS 开源项目
查看>>
对于测试工作与测试人员未来出路的思考
查看>>
小学生算术
查看>>