---
title: "UITextItem.MenuConfiguration.Preview.view(_:)"
framework: uikit
role: symbol
role_heading: Case
path: "uikit/uitextitem/menuconfiguration/preview/view(_:)"
---

# UITextItem.MenuConfiguration.Preview.view(_:)

An option to show the view you provide alongside the text item’s menu.

## Declaration

```swift
case view(UIView)
```

## Parameters

- `view`: The view to display alongside the menu.

## See Also

### Getting the preview options

- [UITextItem.MenuConfiguration.Preview.default](uikit/uitextitem/menuconfiguration/preview/default.md)
