开发者

How can i go to the latest DetailView when i click action button of push notification?

开发者 https://www.devze.com 2023-02-13 17:24 出处:网络
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 notificat开发者_如何学运维ion, this method ll b called: application:did

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 notificat开发者_如何学运维ion, 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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消