UITextItem.MenuConfiguration
An object that describes what type of menu and preview to show for a text item.
Declaration
@MainActor class MenuConfigurationOverview
Create and return a menu configuration for a text item in textView(_:menuConfigurationFor:defaultMenu:) to provide a custom menu that the system shows when someone interacts with the text item. Provide a custom view for the item’s preview, or specify that the system displays a default preview.