- An app is running on iPhone and user tap the home button once and app will enter background.
- after 2 or 3 seconds local notification arrives and user tap on local notification.
- app will again enter in foreground and become active and
didReceiveLocalNotification
will be called.
How to determine that app become active by tapping on local notification not the app icon.