Contents

subscriptionsToSave

The subscriptions to save to the database.

Declaration

var subscriptionsToSave: [CKSubscription]? { get set }

Discussion

This property contains the subscriptions that you want to save. Its initial value is the array that you pass to the init(subscriptionsToSave:subscriptionIDsToDelete:) method. Modify this property as necessary before you execute the operation or submit it to a queue. After CloudKit saves the subscriptions, it begins generating push notifications according to their criteria.

See Also

Configuring the Modify Subscriptions Operation