ModalViewController * modalView = [[ModalViewController alloc]init];
modalView.modalTransitionStyle = UIModalTransitionStyleCoverVertical; // [self presentModalViewController:modalView animated:YES]; ios 6 弃用了该方法
[self presentViewController:modalView animated:YES completion:nil];

typedef NS_ENUM(NSInteger, UIModalTransitionStyle) {

UIModalTransitionStyleCoverVertical = 0,//默认垂直向上

UIModalTransitionStyleFlipHorizontal, 翻转效果

UIModalTransitionStyleCrossDissolve,淡入淡出

#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_3_2

UIModalTransitionStylePartialCurl,翻页效果

#endif

};

最新文章

  1. Nginx: could not build the server_names_hash 解决办法
  2. 接入WebSocket
  3. codeforces 359 C - Robbers' watch
  4. codevs2492上帝造题的七分钟 2(线段树)
  5. 优化DOM交互
  6. 随心测试_软测基础_007<软测学习路线建议>
  7. C# Note37: Writing unit tests with use of mocking
  8. 修改Ueditor的图片上传地址
  9. linux-git
  10. react native 打包上架
  11. JAVA设计方法思考之如何实现一个方法执行完毕后自动执行下一个方法
  12. 《剑指offer》 调整数组顺序使得奇数在偶数前面
  13. 英语口语练习系列-C33-露营-谈论日期-离思
  14. 通过灰度线性映射增强图像对比度实现PS中的色阶
  15. es6函数的扩展
  16. 【代码审计】TuziCMS_v3.0_任意文件删除漏洞分析
  17. HDU 2089 不要62(数位dp模板题)
  18. Unity消息
  19. (Android+IOS)正在做一个新闻App,做的差不多了,听听大家的建议 (图)
  20. Android OpenGL教程-第一课【转】

热门文章

  1. linux svn服务器普通passwd和sasl2配置
  2. jquery去除字符串首尾空格的方法:$.trim()
  3. Unity CCTween UGUI 动画插件
  4. httpclient response 重定向
  5. mysql存储过程和触发器的应用
  6. 学习C++语言的50条忠告
  7. 编写一个程序实现strlen函数的功能
  8. web中webAppRootKey作用
  9. gulp+webpack+vue
  10. HTTP请求大全