Handling applicationDidBecomeActive – “How can a view controller respond to the app becoming Active?”

I have the UIApplicationDelegate protocol in my main AppDelegate.m class, with the applicationDidBecomeActive method defined.

I want to call a method when the application returns from the background, but the method is in another view controller. How can I check which view controller is currently showing in the applicationDidBecomeActive method and then make a call to a method within that controller?

11 Answers
11

Leave a Comment