您的位置:首页 > 移动开发

关于模态窗口错误 Application tried to present modally an active controller

2013-11-05 13:33 302 查看
先判断presentedViewController为空时,再presentModalViewController

if (rootviewController.presentedViewController ==
nil)
   {
      [rootviewController
presentModalViewController:imagePicker
animated:YES];
   }
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  presentModalViewCont
相关文章推荐