且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

更改为 iOS6 后应用程序崩溃 - ucol_getVersion

更新时间:2023-01-01 17:44:07

我也遇到了同样的问题.对我来说,当我尝试显示 UIAlertView 时,应用程序崩溃了.

I had the same problem. For me, the app was crashing when I attempted to show a UIAlertView.

原来所有与UI相关的绘图功能都需要在UI线程上完成(我已经知道了,我想我只是有点草率).太糟糕了,错误消息很神秘.

Turns out that all UI-related drawing functions need to be done on the UI thread (I already knew this, I guess I was just a little sloppy). Too bad the error message is cryptic.

这个帖子可能对你有帮助:https://devforums.apple.com/message/728324

This thread might be helpful to you: https://devforums.apple.com/message/728324

鉴于您发布的堆栈跟踪中有 UIKit 类,我猜这也是您的问题.

Given that there are UIKit classes in the stacktrace you posted, I'm guessing this is your problem too.