---
title: tapCount
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitouch/tapcount
---

# tapCount

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

## Declaration

```swift
var tapCount: Int { get }
```

## Discussion

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](uikit/uitouch/timestamp.md)
- [type](uikit/uitouch/type.md)
- [UITouch.TouchType](uikit/uitouch/touchtype.md)
- [phase](uikit/uitouch/phase-swift.property.md)
- [UITouch.Phase](uikit/uitouch/phase-swift.enum.md)
- [force](uikit/uitouch/force.md)
- [maximumPossibleForce](uikit/uitouch/maximumpossibleforce.md)
- [altitudeAngle](uikit/uitouch/altitudeangle.md)
- [azimuthAngle(in:)](uikit/uitouch/azimuthangle(in:).md)
- [azimuthUnitVector(in:)](uikit/uitouch/azimuthunitvector(in:).md)
- [rollAngle](uikit/uitouch/rollangle.md)
