ios - iphone development: launching app on receiving push notification -


in app can receive push notifications. however, if app in background, when open app faced last state of app. want is, if app on background, opening notification should relaunch app first time app opening. possible?

in appdelegate react receipt of notification , restore application state in way appropriate app.

for example if main view controller uinavigationcontroller , user may have navigated down in view hierarchy, pop navigation controller's rootviewcontroller:

 [[self navigationcontroller] poptorootviewcontrolleranimated:yes]; 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -