Contents

toggleLookupAction

An action that enables the visual lookup interface.

Declaration

var toggleLookupAction: UIAction { get }

Discussion

When a user toggles the lookup UI, the state property is UIMenuElement.State.on, and is UIMenuElement.State.off otherwise. The system disables the action’s attributes when there isn’t visual lookup data available or when the media is playing.

See Also

Configuring frame analysis