App frozen by UIKit after upgrading to Xcode 7

扶醉桌前 提交于 2019-12-12 13:15:23

问题


After upgrading my project to Swift 2.0 and using Xcode 7 (GM) I noticed some of my view controllers freeze the app on navigation.

Instruments show me that CPU usage is over 9000% and is used by UIKit and Foundation.

Have you encountered this problem?


回答1:


It seems to be one of those Interface Builder issues.

I've successfully defeated this by removing any text from UITextView in storyboard. And it comes again if I set text property back.

Hopefully, this will help someone to not waste precious time.



来源:https://stackoverflow.com/questions/32549020/app-frozen-by-uikit-after-upgrading-to-xcode-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!