简体   繁体   中英

Difference Between iOS Push Notifications and Remote Notifications?

In Xcode under app capabilities there is an option to turn on Push Notifications. Under Background Modes there is also an option to turn on Remote Notifications. What is the difference? Pros/Cons?

Do I still set up a push certificate for remote notifications?

Remote notifications is a special (and rather poorly named) background mode that allows the app to download content in response to a push notification.

From Apple :

The app wants to start downloading content when a push notification arrives. Use this notification to minimize the delay in showing content related to the push notification.

Normal push notifications will not require this permission, but adding this mode allows additional functionality for push notifications.

And yes, you will still require push certificates even with this background mode enabled.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM