Instance Method

cancel()

Cancels the current preview interaction.

Declaration

func cancel()

Discussion

When a preview interaction is in progress, use this method to cancel it, preventing any further callbacks to the delegate methods.

See Also

Handling Preview Interactions

var view: UIView?

The view from which the preview interaction receives touch events.

func location(in: UICoordinateSpace?) -> CGPoint

Returns the location of the touch that started the interaction.