<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/CKSystemSharingUIObserver/systemSharingUIDidStopSharingBlock-7nmiw",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "s:So25CKSystemSharingUIObserverC8CloudKitE06systemb9UIDidStopB5BlockySo10CKRecordIDC_s6ResultOyyts5Error_pGtcSgvp"
  },
  "title" : "systemSharingUIDidStopSharingBlock"
}
-->

# systemSharingUIDidStopSharingBlock

A callback block the system invokes after the success or failure of a share delete by the system sharing UI.

```
@preconcurrency var systemSharingUIDidStopSharingBlock: (@Sendable (CKRecord.ID, Result<Void, any Error>) -> Void)? { get set }
```

## Discussion

The system invokes this block on the success or failure of a [`CKShare`](/documentation/CloudKit/CKShare) delete when the user decides to stop sharing through the system sharing UI.

Each [`CKSystemSharingUIObserver`](/documentation/CloudKit/CKSystemSharingUIObserver) instance has a private serial queue. The system uses this queue for all callback block invocations.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)