Instance Property

tapCount

The number of times the finger was tapped for this given touch.

Declaration

@property(nonatomic, readonly) NSUInteger tapCount;

Discussion

The value of this property is an integer containing the number of taps that occurred for this touch within a predefined period of time. Use this property to evaluate whether the user single-tapped, double-tapped, or even triple-tapped a particular view or window.

See Also

Getting Touch Attributes

timestamp

The time when the touch occurred or when it was last mutated.

type

The type of the touch.

UITouchType

The type of touch received.

phase

The phase of the touch.

UITouchPhase

The phase of a finger touch.

force

The force of the touch, where a value of 1.0 represents the force of an average touch (predetermined by the system, not user-specific).

maximumPossibleForce

The maximum possible force for a touch.

altitudeAngle

The altitude (in radians) of the stylus.

- azimuthAngleInView:

Returns the azimuth angle (in radians) of the stylus.

- azimuthUnitVectorInView:

Returns a unit vector that points in the direction of the azimuth of the stylus.