Receiving Push Notifications while in background
application:didReceiveRemoteNotification: will call in the background only when you have added content-available key with value 1 into the notification payload. In case of the Urban Airship, you can send Test Push under the Setting tab. Sample Payload for Push Notifications: { “aps”: { “alert”: “aaaa”, “badge”: “+1”, “content-available”: “1” }, “device_tokens”: [ “86BA71E361B849E8312A7B943BA6B26A74AB436381CF3FEE3CD9EB436A12A292” ] } … Read more