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

时间:2014-03-26 18:13:04   收藏:0   阅读:2584

先判断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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!