Tells the delegate that a remote push notification arrived.
- iOS 11.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- watchOS 6.0+
PKPushinstance responsible for the delegate callback.
The push payload sent by a developer via APNs server API.
This is a
PKPushconstant, which is present in
The notification's completion handler. Execute this block when you finish processing the notification.
The system calls this method when it receives a push notification for the specified push type. Use this method to extract data from the notification's payload and to perform the relevant task for that data. For example, use this method to update the complication data of your watchOS app. When you finish the task, execute the provided
completion handler block to let PushKit know you are finished.
When linking against the iOS 13 SDK or later, your implementation of this method must report notifications of type
vo to the CallKit framework by calling the
report method of your app's
CXProvider object. When you call that method, the system displays the standard incoming call interface to the user unless an error occurs. For example, the system reports an error if the user enabled Do Not Disturb. You may establish a connection to your VoIP server in tandem with notify CallKit.