presentModalViewController deprecated in ios6
来源:互联网 发布:肖像权网络侵权管辖 编辑:程序博客网 时间:2024/06/06 04:02
在ios6 中presentModalViewController 方法已经不使用了,所以出现warning
product ->Build For -> Profiling 编译出现大量的warning。
presentModalViewController:animated: is deprecated :first deprecated in iOS6.0 。
[self presentModalViewController:pNewController animated:YES];
替换为
[self presentViewController:pNewController animated:YES completion:nil];
相对应的
dismissModalViewControllerAnimated :animated: is deprecated :first deprecated in iOS6.0
[self dismissModalViewControllerAnimated:YES];
替换为
[self dismissViewControllerAnimated:YES completion:nil];
0 0
- presentModalViewController deprecated in ios6
- presentModalViewController deprecated in ios6
- presentModalViewController deprecated in ios6
- first deprecated in ios6解决方法
- 'UITextAlignmentRight' is deprecated: first deprecated in ios6.0
- ABAddressBookCreate is deprecated: first deprecated in IOS6.0
- iOS6中UIViewController被弃用的方法(: first deprecated in iOS 6.0)
- presentModalViewController
- Deprecated in iOS 5.0
- Deprecated: Function ereg() is deprecated in
- Deprecated: Function ereg() is deprecated in
- Deprecated: Function ereg() is deprecated in 解决方案
- Deprecated: Function ereg() is deprecated in 解决方案
- Deprecated: Function split() is deprecated in ... 解决办法
- Deprecated: Function ereg() is deprecated in
- 【php】Deprecated: Function ereg() is deprecated in
- UILabel textAlignment in IOS6
- UILabel textAlignment in IOS6
- AVL树,平衡二叉树的LL,LR ,RR,RL旋转
- 求数列的和
- java反射详解
- 【问题解决】用户登录问题
- 水仙花数
- presentModalViewController deprecated in ios6
- 各个开放平台的灵异事件
- 使用eagle导出国内PCB制板商可用的gerber文件
- 使用Mule发布Web Service服务
- 多项式求和
- JavaScript中0, "", null, false, undefined的区别
- Spring AOP支持的AspectJ切入点指示符
- oracle执行计划说明
- 英文RouterOS秒变中文版