Contents

view

The view from which the preview interaction receives touch events.

Declaration

weak var view: UIView? { get }

Discussion

A preview interaction operates on the view that’s provided at initialization time. Use this property to obtain a reference to that same view. Note that this is a weak property — the preview interaction doesn’t retain a reference to the view it’s provided.

See Also

Handling preview interactions