---
title: traitCollection
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkmapsnapshotter/snapshot/traitcollection
---

# traitCollection

Traits to use when creating the snapshot.

## Declaration

```swift
var traitCollection: UITraitCollection { get }
```

## Discussion

Discussion You configure the traits when you create snapshotter options. See traitCollection.
