<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITextItem/MenuConfiguration/Preview",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:So27UITextItemMenuConfigurationC5UIKitE7PreviewO"
  },
  "title" : "UITextItem.MenuConfiguration.Preview"
}
-->

# UITextItem.MenuConfiguration.Preview

Constants that indicate what type of preview to display alongside the text item’s menu.

```
enum Preview
```

## Topics

### Getting the preview options

[`case `default``](/documentation/UIKit/UITextItem/MenuConfiguration/Preview/default)

An option to show the default system preview alongside the text item’s menu.

[`case view(UIView)`](/documentation/UIKit/UITextItem/MenuConfiguration/Preview/view(_:))

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



---

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)