您的位置:首页 > 产品设计 > UI/UE

ios8.0 ipad UIImagePickerController

2014-12-18 17:54 387 查看
Warning:
Attempt
to present <UIImagePickerController:
0x7c0ae400>
on <CAGUCreateContactViewController:
0x7bf61a00>
which is
already presenting (null)

解决办法

if([[[UIDevice currentDevice] systemVersion] floatValue]>=8.0)
{
[[NSOperationQueue mainQueue] addOperationWithBlock:^{

[self presentViewController:cameraUI animated:NO completion:nil];
}];

}
else{

[controller presentViewController:cameraUI animated:NO completion:nil];
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: