/ Published in: Objective C
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//add this when initializing controller selector:@selector(becomeActive:) name:UIApplicationDidBecomeActiveNotification object:nil]; //add the actual method in the controller NSLog(@"becoming active"); } //be sure to clean up the notification - (void)dealloc { [super dealloc]; }