on iOS5 I can use method to show UIAlertView
:
[alert performSelectorInBackground: @ selector (show) withObject: nil];
on iOS6 crash my app, why?
That the replacing?
Thanks
on iOS5 I can use method to show UIAlertView
:
[alert performSelectorInBackground: @ selector (show) withObject: nil];
on iOS6 crash my app, why?
That the replacing?
Thanks
Why are you performing that selector in the background? Showing an alert view probably isn't something you want to be doing on a background thread.
You aren't suppose to do UI stuff in the background. It will make your app crash. You normally do stuff like loading data from a server in the background or computational expensive operation, but never do anything that's in the UIKit framework in a background thread.