设置非常简单。
根控制器是一个标签栏控制器。 我的一个标签有一个带有tableview的导航控制器。 导航栏中的按钮应该将带有简单UIWebView的UIViewController压入堆栈。 按下该按钮时,UI会锁定。
我拿出了所有加载网页但没有帮助的代码。
控制台中没有任何内容。 内存或CPU使用率没有显着增加。 没有任何东西被抛出,根据调试器,应用程序运行正常。
我将它减少到我有一个空白的视图控制器为webview减去IB的属性和故事板segue。
The set up is quite simple.
Root Controller is a tab bar controller. One of my tabs has a navigation controller with a tableview. Button in nav bar is supposed to push UIViewController with a simple UIWebView onto the stack. When that button is pushed, the UI locks up.
I took out all the code that would load a webpage but that didn't help.
There is nothing in the console. No dramatic increases in memory or CPU usage. Nothing is thrown and according to the debuggers the app is running fine.
I reduced it to the point where I have a blank view controller for the webview minus the property for IB and a storyboard segue.
最满意答案
我想这只是一个损坏的Storyboard文件。 我刚把它清理干净,从头开始。 好像现在工作正常。
I guess it was just a corrupted Storyboard file. I just cleared it out and started from scratch. Seems to work fine now.
更多推荐
发布评论