The names of fields to include in the push notification payload.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 6.0+
This property contains an array of
NSString objects, each of which corresponds to the name of a field in the record that triggered the notification. When a push notification is delivered, the keys and their corresponding values are included in the payload of the push notification. You can include a maximum of three keys in the array.
For the keys you specify, the allowable values are
CKReference. You cannot specify keys whose values contain other data types. String values that are greater than 100 characters in length may be truncated when added to the push notification.