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

先判断presentedViewController为空时,再presentModalViewController


if (self.presentedViewController == nil)

   {

      [self presentModalViewController:myController animated:YES];

   }

模态窗口错误 Application tried to present modally an active controller,布布扣,bubuko.com

文章来自:http://blog.csdn.net/sqc3375177/article/details/22172859
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3