我的应用冻结了,我不知道什么是错的

时间:2014-04-18 09:39:08

标签: objective-c freeze

所以,我的应用程序完美无缺,只是在模拟器中使用它之后会冻结一段时间。有任何想法吗?

发生以下错误:

App Game[6352:60b] *** Assertion failure in -[UIWindowController transition:fromViewController:toViewController:target:didEndSelector:animation:], /SourceCache/UIKit/UIKit-2935.137/UIWindowController.m:223
2014-04-18 11:32:43.237 App Game[6352:60b] *** WebKit discarded an uncaught exception in the webView:didFinishLoadForFrame: delegate: <NSInternalInconsistencyException> Attempting to begin a modal transition from <ViewController: 0x15f625180> to <GADWebAppViewController: 0x15f53e5d0> while a transition is already in progress. Wait for viewDidAppear/viewDidDisappear to know the current transition has completed
2014-04-18 11:32:49.603 App Game[6352:60b] Warning: Attempt to present <Game: 0x15f659030> on <ViewController: 0x15f625180> while a presentation is in progress!

1 个答案:

答案 0 :(得分:0)

刚刚解决了这个问题。我使用SimpleAuth来验证Instagram的应用程序,并发现我两次调用SimpleAuth授权方法。第二个调用是在第一次调用解除它自己的模式之前尝试呈现它自己的模态而导致此错误。