So I got my first push notifications from my PHP server to the iPhone working (so excited!)
Now when the user clicks on the notification, my app reloads, but it reloads to whatever point it left off at obviously.
Is there a way I can have the app know that it was reloaded from a iOS notification click?
And the next step is to read a custom variable that I sent along with the notification, how would I read my variable? (I added the custom variable to my payload as follows:)
$payload['aps'] = array('alert' => 'This is the alert text', 'badge' => 1, 'sound' => 'default', 'customVar' ==> '1');