iOS
来源:互联网 发布:手机淘宝不能追加评论 编辑:程序博客网 时间:2024/06/04 18:52
Warning: Attempt to present < LXFPhotoHelper: 0x1049b5e00 > on < UIApplicationRotationFollowingController: 0x101bd4fc0 > which is already presenting < UIAlertController: 0x101e63100 >
问题
提示我们在弹出LXFPhotoHelper之前已经弹出UIAlertController这个控制器了,那我们就让弹出的操作放到UIAlertController消失之后即可。
解决方法
将方法
- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex;
替换为
- (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex;
即可解决
// UIActionSheet的替换对应这个- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex;- (void)actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger)buttonIndex;
0 0
- iOS
- iOS
- IOS
- iOS
- iOS
- IOS
- ios
- iOS
- iOS
- IOS
- iOS
- ios
- ios ~~~~~
- ios
- IOS
- IOS
- IOS
- ios
- 题目1087:约数的个数 九度OJ
- 【Shell】把某一文件夹下所有文件名或者路径存入TXT文档
- RabbitMQ用户角色及权限控制
- Bean named 'xxx' must be of type xxx , but was actually of type [com.sun.proxy.$Proxy189]
- windows系统桌面右下角出现不是正版提示水印的解决办法
- iOS
- leetcode 28
- Win7 IE报错.NET controls is disabled
- AOP(XML)【理解】【应用】【重点】
- Python中Iterable与Iterator
- 读EasyPR开发详解实践感想1
- 4、scrapy内置服务
- Unity3d屏幕截图方法
- initramfs文件系统的制作和移植