ios - APNs: How to perform a segue to go to a specific ViewController when clicking on a Notification -
i have completed news ios app, , implement push notifications service. did necessary work , it's working fine. want app perform specific segue depending on data received apns.
meaning: when user clicks on notification want app perform segue go uiviewcontroller.
i couldn't using didreceiveremotenotification
method in appdelegate.m file.
do have make class (or singleton class) in order perform actions after clicking on notification ?
note: saw many questions , answers , i'm kind of lost here, because there lot of them.
thanks in advance.
u must handle u're notification in didreceiveremotenotification
method . u can post nsusernotification
, handle it.
u can find answer there
Comments
Post a Comment