PushKit registers your app for and delivers specialized remote pushes, such as VoIP calls and complications, reflecting the push types your app supports. You create a PKPushRegistry, declare the desired PKPushType values, and adopt PKPushRegistryDelegate to receive the resulting PKPushCredentials and incoming PKPushPayload data. Supplementary types like PKVoIPPushMetadata carry additional information for VoIP pushes.
Push Registration 2
Register your app to receive the specialized push types it supports.
- ClPKPushRegistryiOS 8.0+An object that requests the delivery and handles the receipt of PushKit notifications.
- PrPKPushRegistryDelegateThe methods that you use to handle incoming PushKit notifications and registration
Push Types 1
Identify the categories of push notifications your app handles.
- StPKPushTypeConstants reflecting the push types you want to support.
Credentials and Payloads 3
Access the registration tokens and incoming data delivered for each push type.
- ClPKPushCredentialsiOS 8.0+An object that encapsulates the device token you use to deliver push notifications
- ClPKPushPayloadiOS 8.0+An object that contains information about a received PushKit notification.
- ClPKVoIPPushMetadataiOS 26.4+An object that contains metadata about a received PushKit VoIP notification.