A notification that is triggered by changes to the contents of a record zone.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
Framework
- Cloud
Kit
Declaration
@interface CKRecordZoneNotification : CKNotification
Overview
Zone-related changes occur when existing records in the zone are modified, when new records are added, and when existing records are deleted. Use instances of this class to determine which zone triggered the notification.
You do not create instances of this class directly. When your app receives a push notification, call the notification
method of CKNotification
to generate a notification object of the appropriate type. You can also fetch previously delivered notifications from a container using a CKFetch
object. If the notification was triggered due to a record zone change, the operation object delivers an instance of CKRecord
with its notification
property set to CKNotification
. Use the record zone notification object to get the record zone information and other push-related data.
If a push notification’s payload is too large, pieces of data may be dropped until the payload meets the allowed size limit. The data that alerts the user is the most important and is dropped last. Data values in this class are among the first to be dropped, with values being dropped in the following order:
container
—defined in theIdentifier CKNotification
class.Other properties of the
CKNotification
class.