sanjayzed
sanjayzed

Reputation: 57

why in xcode capabilities, there are two options for push/remote notifications

I wonder why in xcode -capabilities, there are two options for remote/push notifications. one is called as "Push Notifications" and other one under "Background Modes" as "Remote Notifications"

Upvotes: 1

Views: 191

Answers (1)

TheEye
TheEye

Reputation: 9346

The second one is for remote notifications that wake up your app when it is in the background (so-called silent notification). They are not shown to the user, but your app gets a few seconds to react on them, e.g. for loading data in the background on server request.

See here: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html

Upvotes: 1

Related Questions