Contents

view

The view to which touches are being delivered, if any.

Declaration

var view: UIView? { get }

Mentioned in

Discussion

The value of this property is the view object to which touches are being delivered, which is not necessarily the view the touch is currently in. For example, when a gesture recognizer recognizes the touch, this property is nil because no view is receiving the touch.

See Also

Getting the location of a touch