Send push notifications to update your app.
- iOS 8.0+
- macOS 10.15+Beta
- UIKit for Mac 13.0+Beta
- watchOS 6.0+Beta
The PushKit framework sends specific types of notifications—such as VoIP invitations, watchOS complication updates, and file provider change notifications—directly to your app for processing.
PushKit notifications differ from the ones you handle using the UserNotifications framework. Specifically, PushKit notifications never display alerts, badge your app's icon, or play sounds. They also have the following advantages over user notifications:
The device wakes only when it receives a PushKit notification, which can improve battery life.
Upon receiving a PushKit notification, the system automatically launches your app if it isn't running. By contrast, user notifications aren't guaranteed to launch your app.
The system gives your app execution time (potentially in the background) to process PushKit notifications.
PushKit notifications can include more data than user notifications.