Contents

init(delegate:)

Initializes an edit menu interaction object with the delegate object you specify.

Declaration

init(delegate: (any UIEditMenuInteractionDelegate)?)

Discussion

Create an object that conforms to the UIEditMenuInteractionDelegate protocol and assign it to this property. The interaction uses the system delegate if no delegate is provided (if you pass in nil).