Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

lincolntran

macrumors 6502a
Original poster
Jan 18, 2010
843
471
Hi all,



I got my local notification working so far. When the notification pop up, I click on the "View Details" and my app launch, but only the home screen of the app. I'm trying to go directly to the notified item to show the details but I have no idea how. Can someone give me a direction?



Thanks
 

lincolntran

macrumors 6502a
Original poster
Jan 18, 2010
843
471
What I'm having problem understanding is that (in my case), the app is navigation based. In order for the user to get to the detail item, he must tap a couple of taps. So, how can I, for lack of better words, "simulate" those taps from application:didReceiveLocalNotification to the detail view.
 

PhoneyDeveloper

macrumors 68040
Sep 2, 2008
3,114
93
You can pushViewController:animated: For all but the last one that you push make the animated parameter NO. For the last one make it YES, like usual.

There is also a setViewControllers: method but I've had difficulty making it work correctly.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.