---
title: type
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uipress/type
---

# type

The type of the specified press.

## Declaration

```swift
var type: UIPress.PressType { get }
```

## Discussion

Discussion For a list of all possible types, see the UIPress.PressType enumeration.

## See Also

### Getting press attributes

- [key](uikit/uipress/key.md)
- [phase](uikit/uipress/phase-swift.property.md)
- [timestamp](uikit/uipress/timestamp.md)
