Instance Property

view

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

Declaration

@property(nonatomic, readonly, strong) UIView *view;

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

- locationInView:

Returns the current location of the receiver in the coordinate system of the given view.

- previousLocationInView:

Returns the previous location of the receiver in the coordinate system of the given view.

window

The window in which the touch initially occurred.

majorRadius

The radius (in points) of the touch.

majorRadiusTolerance

The tolerance (in points) of the touch’s radius.

- preciseLocationInView:

Returns a precise location for the touch, when available.

- precisePreviousLocationInView:

Returns a precise previous location for the touch, when available.