The block that processes a single push notification.
- iOS 8.0–11.0Deprecated
- macOS 10.10–10.13Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–11.0Deprecated
- watchOS 3.0–4.0Deprecated
The block returns no value and takes the following parameter:
CKNotificationobject corresponding to a push notification. The actual object passed to this method is a concrete subclass of
CKNotificationthat contains specific details about the source of the change.
The operation object executes this block once for each push notification that is found. Each time the block is executed, it is executed serially with respect to the other progress blocks of the operation.
If you intend to use this block to process results, set it before executing the operation or submitting the operation object to a queue.