pushRegistry(_:didUpdate:for:)
Tells the delegate that the system updated the credentials for the specified type of push notification.
Declaration
func pushRegistry(_ registry: PKPushRegistry, didUpdate pushCredentials: PKPushCredentials, for type: PKPushType)Parameters
- registry:
The Pkpushregistry instance responsible for the delegate callback.
- pushCredentials:
The push credentials that can be used to send pushes to the device for the specified push type.
- type:
One of the requested notification types. This type is present in the Desiredpushtypes property of the push registry.
Mentioned in
Discussion
The system calls this method when it receives new credentials (including a push token) for the specified push type.