When you click "View" in the notification, it returns you to your application, and your application shows everything that it showed earlier (if it was encrypted) or launched.
If you need to show a specific user interface in response to a notification, consider using the method <UIApplicationDelegate> -[<UIApplicationDelegate> application:didReceiveLocalNotification:]. In this method, you can check the notification and go to the corresponding interface.
source
share