28
How do we handle push notifications if the application is already running ? I want to show an alert if the application is running (instead of a push notification alert). Only if the application is not running, then show a push notification alert.
Also, if I send a payload to APNs, how can I create an alert with a cancel button?