CKSystemSharingUIObserver
An object the system uses to monitor changes in sharing.
Declaration
class CKSystemSharingUIObserverOverview
Initialize a CKSystemSharingUIObserver instance with your CKContainer when preparing to share an item using the share sheet. Use your implementation to update the local state of a shared item when your app receives a CKShare, or to delete a locally cached share when the system notifies your app about a share deletion.
The system only propagates changes on the local device using CKSystemSharingUIObserver. The system doesn’t notify your app about any remote changes on the server. For more information about how to keep your local cache in sync with remote changes, see Remote Records.