I’m trying to perform some task when a user gets a push notification and presses VIEW. I don’t want the app to just launch like it normally does, I want to perform some other task.
What method gets called when the user gets a push and presses VIEW?? didFinishLaunchingWithOptions doesn’t seem to get called (not on iPhone 4 anyways).
I basically want something to happen when a user presses VIEW, and only when they press VIEW.
Thanks.
Are you sure
application:didFinishLaunchingWithOptions:is not being called? Normally you can tell that your app was launched from the user clicking on the view button of a remote push notification by inspecting thelaunchOptionsparameter.