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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software