UIAlertView Causes Crash in iOS SDK 6.0

前端 未结 2 1667
青春惊慌失措
青春惊慌失措 2021-02-12 17:30

I recently submitted an app to App Store that has not been accepted yet. Meanwhile, I downloaded Xcode 4.5 and tested my app in iPhone 6.0 Simulator.

However, when I i

2条回答
  •  我寻月下人不归
    2021-02-12 18:08

    Delete this method and use the other method:

     [myAlertView show];  
    

    Try this Method:

     [myAlertView performSelectorOnMainThread:@selector(show) withObject:nil waitUntilDone:YES];
    

提交回复
热议问题