after ole answer above
add this when initializing the view manager
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(becomeActive:) name:UIApplicationDidBecomeActiveNotification object:nil];
add the actual method to the controller
- (void)becomeActive:(NSNotification *)notification { NSLog(@"becoming active"); }
be sure to clear the notice
- (void)dealloc { [[NSNotificationCenter defaultCenter] removeObserver:self]; [super dealloc]; }
source share