Reputation: 23
Can we catch in code moment when user execute "switch application" action?
Upvotes: 1
Views: 84
Reputation:
When switching applications, your UiApplication
's activate()
method is invoked when your application comes to the foreground and deactivate()
is called when it goes to background.
Upvotes: 3