简体   繁体   中英

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

i am working with a nav based app. and now im 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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM