---
title: "itemTitle(for:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uicloudsharingcontrollerdelegate/itemtitle(for:)"
---

# itemTitle(for:)

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

## Declaration

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

## Discussion

Discussion Implement this method to provide a meaningful title to the UICloudSharingController invitation screen. itemTitle(for:) is called only when creating a new share. For an existing share, the title is retrieved from the share using the CKShareTitleKey key, which is set when a new share is saved.

## See Also

### Configuring the view controller

- [itemType(for:)](uikit/uicloudsharingcontrollerdelegate/itemtype(for:).md)
- [itemThumbnailData(for:)](uikit/uicloudsharingcontrollerdelegate/itemthumbnaildata(for:).md)
