Tells the delegate that Apple Push Notification service (APNs) cannot successfully complete the registration process.
- watchOS 6.0+
An error object that contains information about why the registration failed. The app can choose to display this information to the user.
WatchKit calls this method if it was unable to register your app with APNs or if your app is not properly configured for remote notifications. For example, WatchKit might call this method if you didn’t enable your WatchKit extension’s Push Notification capability. For more information about how to set up and send remote notifications in your app, see Setting Up a Remote Notification Server and Registering Your App with APNs.
In your implementation, you can check the error type, and try to register again later.