Initializes and returns an operation object configured to mark the specified notifications as read.
- 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
An array of
CKNotificationobjects representing the notifications you want to mark as read. Use this parameter to initialize the value in the
notificationproperty. If you specify
nil, assign an appropriate value to the
notificationproperty before executing the operation.
If any objects in the array are not
CKNotificationobjects, this method raises an exception.
An initialized operation object.
Assign a completion block to the
mark property to process the results.