Instance Property

subscriptionOptions

The options for triggering notifications.

Declaration

var subscriptionOptions: CKSubscriptionOptions { get }

Discussion

Set the value of this property at initialization time. When configuring a query-based subscription, you must specify at least one of the following values: firesOnRecordCreation, firesOnRecordUpdate, or firesOnRecordDeletion.

See Also

Accessing the Subscription Metadata

var subscriptionType: CKSubscription.SubscriptionType

The type of behavior provided by the subscription.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software