---
title: icon
framework: passkit
role: symbol
role_heading: Instance Property
path: passkit/pkpass/icon
---

# icon

The pass icon.

## Declaration

```swift
@NSCopying var icon: UIImage { get }
```

## Discussion

Discussion You can use this property to display a pass’s icon as part of a UI element that represents the pass, such as a cell in a table view.

## See Also

### Getting the display attributes

- [localizedValue(forFieldKey:)](passkit/pkpass/localizedvalue(forfieldkey:).md)
- [organizationName](passkit/pkpass/organizationname.md)
- [relevantDate](passkit/pkpass/relevantdate.md)
- [PKPassRelevantDate](passkit/pkpassrelevantdate.md)
