One Logo Pool Ball
UIKit · IOS API REFERENCE

UIEditMenuInteraction

class · iOS 16.0+ · SDK 27.1

@MainActor class UIEditMenuInteraction

Members (7)

method · iOS 16.0+

dismissMenu

TypeScript
dismissMenu(): Promise<void>
Swift declaration
func dismissMenu()
init · iOS 16.0+

init

TypeScript
static init(delegate?: (Implements<UIEditMenuInteractionDelegate> | SDKHandle) | null): Promise<UIEditMenuInteraction>
Swift declaration
init(delegate: (any UIEditMenuInteractionDelegate)?)
method · iOS 16.0+

location

TypeScript
location(view?: (UIView) | null): Promise<{ x: number; y: number }>
Swift declaration
func location(in view: UIView?) -> CGPoint
method · iOS 16.0+

presentEditMenu

TypeScript
presentEditMenu(configuration: UIEditMenuConfiguration): Promise<void>
Swift declaration
func presentEditMenu(with configuration: UIEditMenuConfiguration)
method · iOS 16.0+

reloadVisibleMenu

TypeScript
reloadVisibleMenu(): Promise<void>
Swift declaration
func reloadVisibleMenu()
method · iOS 16.0+

updateVisibleMenuPosition

TypeScript
updateVisibleMenuPosition(animated: boolean): Promise<void>
Swift declaration
func updateVisibleMenuPosition(animated: Bool)
get · iOS 16.0+

delegate

TypeScript
get delegate(): Promise<(SDKHandle) | null>
Swift declaration
weak var delegate: (any UIEditMenuInteractionDelegate)? { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UIEditMenuInteraction.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All UIKit types →