Reputation: 3079
i am working with a nav based app. and now i m working with push notifications. i know that when i ll click the action button of notification, this method ll b called: application:didFinishLaunchingWithOptions: my question is that is there any way that when i click the action button in notification. My latest feed items detailView ll b opened instead of tableView. Thanx
Upvotes: 2
Views: 309
Reputation: 1718
Yes. In your application:didFinishLaunchingWithOptions:, tell your navigationController to push your detail view controller. That way when the application launches from the push notification, you'll see the detail view like you want.
Upvotes: 0