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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -