Instance Property

isRegisteredForRemoteNotifications

A Boolean indicating whether the app is currently registered for remote notifications.

Declaration

var isRegisteredForRemoteNotifications: Bool { get }

Discussion

This method reflects whether the remote registration process completed successfully—a process that begins when you call the registerForRemoteNotifications() method. This method does not reflect whether remote notifications are actually available due to connectivity issues. The value returned by this method takes into account the user’s preferences for receiving remote notifications.

See Also

Registering for Remote Notifications

func registerForRemoteNotifications()

Register to receive remote notifications via Apple Push Notification service.

func unregisterForRemoteNotifications()

Unregister for all remote notifications received via Apple Push Notification service.