So I have push notifications sending to my application.
The code that triggers the alert is in my app delegate file (I think thats where it is supposed to go?)
How do I make an action for my alert button so that I can change to a different view?
So I have push notifications sending to my application.
The code that triggers the alert is in my app delegate file (I think thats where it is supposed to go?)
How do I make an action for my alert button so that I can change to a different view?
To change the title of the button, use the
action-loc-key
key in the notification dictionary (see this section of the guide).To do something when the notification is tapped, you can implement a few methods in your app delegate: Handling notifications.