Reputation: 660
Hi all is there a specific delegate method which is called when an app is brought to the foreground from the background on ios? The reason being I want to perform different actions when my app is launched and when it is simply resumed from the background?
Many thanks
Jules
Upvotes: 1
Views: 177
Reputation: 7133
When you're coming from the background, applicationWillEnterForeground: is called.
When it starts "from closed", applicationDidFinishLaunching: is called.
Upvotes: 2