I am using push notifications in my app and I would like to send user to particular view, not the view he last saw. Is it possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to implement the appropriate AppDelegate messages.
Specifically, you will receive the APNS payload on the
application:didFinishLaunchingWithOptions:You might also receive the payload in a different message,
application:didReceiveRemoteNotification:if the application is active.Then when you know that your app was launched because the user touched a notification, you can direct him to a specific view accordingly.