---
title: "largeContentViewerInteraction(_:itemAt:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uilargecontentviewerinteractiondelegate/largecontentviewerinteraction(_:itemat:)"
---

# largeContentViewerInteraction(_:itemAt:)

Identifies the large content viewer item for the specified interaction and location.

## Declaration

```swift
optional func largeContentViewerInteraction(_ interaction: UILargeContentViewerInteraction, itemAt point: CGPoint) -> (any UILargeContentViewerItem)?
```

## Parameters

- `interaction`: The large content viewer interaction that needs an item.
- `point`: The point where the user’s interaction is taking place, in the coordinate space of the view that contains the interaction.

## Discussion

Discussion By default, UIKit finds the item for the interaction by calling point(inside:with:) recursively on your view hierarchy. If you’re not using views, implement this method to identify the item for an interaction at a given point.

## See Also

### Customizing large content viewer interactions

- [largeContentViewerInteraction(_:didEndOn:at:)](uikit/uilargecontentviewerinteractiondelegate/largecontentviewerinteraction(_:didendon:at:).md)
- [viewController(for:)](uikit/uilargecontentviewerinteractiondelegate/viewcontroller(for:).md)
