<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICloudSharingController/delegate",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UICloudSharingController(py)delegate"
  },
  "title" : "delegate"
}
-->

# delegate

A reference to an object that conforms to the CloudKit sharing controller delegate protocol.

```
weak var delegate: (any UICloudSharingControllerDelegate)? { get set }
```

## Discussion

The [`UICloudSharingController`](/documentation/UIKit/UICloudSharingController) instance can interact with your app by way of a delegate object (an object that conforms to the [`UICloudSharingControllerDelegate`](/documentation/UIKit/UICloudSharingControllerDelegate) protocol). If you provide a delegate object to the controller, the controller can notify your app of status changes to the <doc://com.apple.documentation/documentation/CloudKit/CKShare> record that happen while the user interacts with the controller’s user interface. The controller can also ask the delegate object for app-specific settings, such as a title, for display in the controller’s user interface.

Although providing a delegate object is not required, doing so ensures that, at a minimum, a meaningful title is displayed in the controller’s user interface.

---

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)