---
title: "cloudSharingControllerDidStopSharing(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uicloudsharingcontrollerdelegate/cloudsharingcontrollerdidstopsharing(_:)"
---

# cloudSharingControllerDidStopSharing(_:)

Tells the delegate that the user has stopped sharing the record.

## Declaration

```swift
optional func cloudSharingControllerDidStopSharing(_ csc: UICloudSharingController)
```

## Discussion

Discussion Implement this method to receive a notification from the UICloudSharingController instance after the user who owns the CKShare record stops sharing it with all participants.

## See Also

### Processing shared items

- [cloudSharingController(_:failedToSaveShareWithError:)](uikit/uicloudsharingcontrollerdelegate/cloudsharingcontroller(_:failedtosavesharewitherror:).md)
- [cloudSharingControllerDidSaveShare(_:)](uikit/uicloudsharingcontrollerdelegate/cloudsharingcontrollerdidsaveshare(_:).md)
