Reputation: 891
I have my local notification working, but when I click View to come back to the app, in the app delegate I am trying to load a specific view, but it wont take. Is this possible or not? It always just comes back to the last view viewed.
Upvotes: 1
Views: 779
Reputation: 243156
When you tap "View" on the notification, it takes you back to your application, and your application shows whatever it was showing before (if it was backgrounded) or is launched.
If you need to show a particular UI in response to the notification, consider implementing the <UIApplicationDelegate>
method -[<UIApplicationDelegate> application:didReceiveLocalNotification:]
. In that method you can inspect the notification and transition to the appropriate interface.
Upvotes: 1