Instance Method

removeInteraction(_:)

Removes an interaction from the view.

Declaration

func removeInteraction(_ interaction: UIInteraction)

Parameters

interaction

The interaction object to remove from the view.

See Also

Adding and Removing Interactions

func addInteraction(UIInteraction)

Adds an interaction to the view.

var interactions: [UIInteraction]

The array of interactions for the view.

protocol UIInteraction

The protocol that an interaction implements to access the view that owns it.