简体   繁体   中英

APNS register remote push notification when app not running?

In android , we can use service and broadcastreceive. Anyone has any idea to do that registers the remote-push notification when app is not running(never lunched) in iOS ? (Though i think it is impossible.)

This isn't possible. The app must be run to request notification permissions.

This would make no sense in iOS. Registering for APNS requires user confirmation and needs to be subjected by your app.

If your app is not running - it can't do anything. And if you don't subject it, the user can't confirm.

As of iOS8 some functionality is enabled by default. For details you should refer to WWDC 2014 content.

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