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

iOS - 解决Warning: Attempt to present <UIImagePickerController: 0x7f9ba106a000>which is already presen

2016-09-03 13:46 501 查看
Warning: Attempt to present <UIImagePickerController: 0x7f9ba106a000> on <MemberViewController: 0x7f9ba0dae310> which is already presenting (null)
__weak typeof(self) weakSelf = self;
if([[[UIDevice currentDevice] systemVersion] floatValue]>=8.0)
{
[[NSOperationQueue mainQueue] addOperationWithBlock:^{

[self presentViewController:weakSelf.ipc animated:NO completion:nil];
}];

}
else{

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