App crashes after change to iOS6 - ucol_getVersion

后端 未结 2 1345
再見小時候
再見小時候 2020-12-17 16:03

I\'ve an issue with an updated ios-app. Last wednesday (before the iphone-keynote) the app was submitted for review. Tested against iOS6-beta, iOS5, iOS4. -> no problems. Co

相关标签:
2条回答
  • 2020-12-17 16:09

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

    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.

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

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

    0 讨论(0)
  • 2020-12-17 16:27

    this issue is quite simple to fix. Here just enter your code inbetween this code:

    dispatch_async(dispatch_get_main_queue(), ^{
    // Create and show your alert view here      
    });
    

    Alex

    0 讨论(0)
提交回复
热议问题