Posts

Post marked as solved
3 Replies
Your answer has been a great help. The app is being evolved, but... how can I register subscription to be notified when other user modifies, adds, or deletes record which I previously queried from the public database in iOS9?When I call:let subscription = CKSubscription(recordType: "Collections", predicate: groupPredicate, subscriptionID: subID, options: [.firesOnRecordUpdate, .firesOnRecordDeletion])Xcode complains with: 'init(recordType:predicate:subscriptionID:options:)' is unavailable in SwiftI am aware that there is a CKQuerySubscription() class available, but this is since iOS 10. My code has to run on iOS 9. Is there other subscription/notification mechanism to be used in iOS9?Is there any other option to use old iOS9-ish CKSubscription() classes?