Instance Property

majorRadius

The radius (in points) of the touch.

Declaration

@property(nonatomic, readonly) CGFloat majorRadius;

Discussion

Use the value in this property to determine the size of the touch that was reported by the hardware. This value is an approximation of the size and can vary by the amount specified in the majorRadiusTolerance property.

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.

view

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

window

The window in which the touch initially occurred.

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.