DismissModalViewController 将应用程序卡在低于 iOS 5.0 的版本中
让我们看看,我正在开发一个使用一些 ModalViewCotroller 的应用程序。 当我显示任何这些模式时,一切都会正常,我可以使用它并与他的内容进行交互。当我尝试这样做时,问题就出现了:
[self dismissModalViewControllerAnimated:YES];
这个问题,仅发生在低于 iOS 5.0 的版本中
。模态是从我的 DetailViewController (在 Master-Detail 应用程序中)调用的。
有什么建议吗??
提前谢谢大家了!!!
Let´s see, I am developing an app which uses some ModalViewCotrollers.
When I show any of these modals, everything is going OK, I can work with it and interact with his content. The problem comes when I try to do:
[self dismissModalViewControllerAnimated:YES];
This problem, only happens in lower version than iOS 5.0
The modals are called from my DetailViewController (in Master-Detail app).
Any suggestion??
Thanks everybody in advanced!!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您从正确的视图控制器中退出,您是否尝试过?
像这样:
无论如何,我发现了一些可能对您有帮助的好链接:
Modal视图控制器不会自行关闭
dismissModalViewControllerAnimated:(并dismissViewControllerAnimated)在iOS 5中崩溃
Have you tried if you are dismissing from the correct view controller??
Like this:
Anyway, I found a couple of good links which could be helpful for you:
Modal view controller won't dismiss itself
dismissModalViewControllerAnimated: (and dismissViewControllerAnimated) crashing in iOS 5