notificationInfo
The configuration for a subscription’s push notifications.
Declaration
@NSCopying var notificationInfo: CKSubscription.NotificationInfo? { get set }Discussion
If you want the system to display your subscription’s push notifications, assign a value to this property. The server uses the configuration you provide to determine the delivery options for notifications. For example, you can specify the text to display to the user, and the sound to play. You can also specify which fields of the record to include in the notification’s payload.
If you don’t assign a value to this property, CloudKit still sends push notifications, but the system doesn’t display them to the user. The default value of this property is nil.