<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICloudSharingControllerDelegate/itemTitle(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UICloudSharingControllerDelegate(im)itemTitleForCloudSharingController:"
  },
  "title" : "itemTitle(for:)"
}
-->

# itemTitle(for:)

Asks the delegate for the title to display on the invitation screen.

```
func itemTitle(for csc: UICloudSharingController) -> String?
```

## Discussion

Implement this method to provide a meaningful title to the [`UICloudSharingController`](/documentation/UIKit/UICloudSharingController) invitation screen.

[`itemTitle(for:)`](/documentation/UIKit/UICloudSharingControllerDelegate/itemTitle(for:)) is called only when creating a new share. For an existing share, the title is retrieved from the share using the <doc://com.apple.documentation/documentation/CloudKit/CKShareTitleKey-9yavd> key, which is set when a new share is saved.

```swift
func itemTitle(for csc: UICloudSharingController) -> String? {
  return "Untitled"
}
```

---

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)