Instance Method

removeInteraction(_:)

Removes the specified drag, drop, or spring-loaded interaction from the view.

Declaration

func removeInteraction(_ interaction: UIInteraction)

Parameters

interaction

The interaction object to remove from the view.

See Also

Supporting Drag and Drop Interactions

func addInteraction(UIInteraction)

Adds the specified drag, drop, or spring-loaded interaction to the view.

var interactions: [UIInteraction]

The array of interactions for the view.