---
title: systemSharingUIDidStopSharingBlock
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/cksystemsharinguiobserver/systemsharinguididstopsharingblock-7nmiw
---

# systemSharingUIDidStopSharingBlock

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

## Declaration

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

## Discussion

Discussion The system invokes this block on the success or failure of a CKShare delete when the user decides to stop sharing through the system sharing UI. Each CKSystemSharingUIObserver instance has a private serial queue. The system uses this queue for all callback block invocations.

## See Also

### Accessing sharing blocks

- [systemSharingUIDidSaveShareBlock](cloudkit/cksystemsharinguiobserver/systemsharinguididsaveshareblock-8c9vi.md)
