Contents

contextMenuInteraction

A context menu interaction for the control.

Declaration

var contextMenuInteraction: UIContextMenuInteraction? { get }

Discussion

This property returns a UIContextMenuInteraction with the control set as its delegate. Before constructing the context menu interaction, the control verifies that it can serve as a viable delegate.

See Also

Managing context menus