I inserted an NSLog and a UIAlertView into this function call. When I pressed the home button, the NSLog executed, but not the UIAlertView. Why is that?
+3
A:
Try doing it in applicationWillResignActive
(not tested). It gets called before applicationDidEnterBackground
. But I think you should rethink throwing up an alert box for the 5 secs before iOS kills it.
Hiltmon
2010-08-13 13:59:00