Go to the item upon Local Notification - MacRumors Forums
Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 3, 2011, 09:19 AM   #1
lincolntran
macrumors 6502
 
Join Date: Jan 2010
Go to the item upon Local Notification

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 is offline   0 Reply With Quote
Old Feb 3, 2011, 09:41 AM   #2
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
And you've read the Local and Push Notification Programming Guide already, particularly the section on "Handling Local and Remote Notifications"? What, specifically, are you having troubles with? Detecting upon startup whether the user tapped the action button of the alert, or redirecting to the item based on that detection?
__________________
dejo is offline   0 Reply With Quote
Old Feb 3, 2011, 10:38 AM   #3
lincolntran
Thread Starter
macrumors 6502
 
Join Date: Jan 2010
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.
lincolntran is offline   0 Reply With Quote
Old Feb 3, 2011, 12:31 PM   #4
PhoneyDeveloper
macrumors 68030
 
PhoneyDeveloper's Avatar
 
Join Date: Sep 2008
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.
PhoneyDeveloper is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
iPhone: I cannot receive any twitter push notification or update the setting of notification. tkwlee iOS 7 7 Nov 22, 2013 07:03 AM
Notification Center - Open Item? badman89 OS X 10.8 Mountain Lion 0 Oct 11, 2013 09:29 AM
Notification Center: item won't disappear arnoz OS X 10.8 Mountain Lion 3 Sep 3, 2013 03:30 PM
sound in local notification tiaan3365 iPhone/iPad Programming 1 Jan 9, 2013 12:11 AM
Local Notification Content From Web? newtoiphonesdk iPhone/iPad Programming 1 Jul 31, 2012 03:47 AM

Forum Jump

All times are GMT -5. The time now is 07:25 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC