Checking if your app is already registered for Push Notification

suggest change

Swift

let isPushEnabled = UIApplication.sharedApplication().isRegisteredForRemoteNotifications()

This reports whether the app is registered for remote notifications. It does not tell you whether the user authorized alerts, sounds, or badges.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents