Global Variable

PKPushTypeComplication

A push type for watchOS complications.

Declaration

const PKPushType PKPushTypeComplication;

Discussion

Use notifications of this type to deliver updated data related for your Watch app’s complication. The Watch app’s complication must be active on the user’s current clock face. If it is not, pushes of this type are not delivered.

The time your iOS app spends processing these push notifications counts against the budget allotted to your complication for updating itself. Do not start any long running tasks when processing the notification payload. In fact, it is recommended, that you include all needed data in the payload so that your iOS app can process that data quickly and deliver it to your Watch app.

Apple applies a daily limit to the number of pushes of this type that you send from your server. If you exceed the limit, subsequent pushes are not delivered.