---
title: appearance
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkmapsnapshotter/options/appearance
---

# appearance

The visual style (light or dark) to apply to the map when rendering the snapshot image.

## Declaration

```swift
var appearance: NSAppearance? { get set }
```

## Discussion

Discussion Use this property to specify a light or dark appearance for the map in the resulting snapshot image. When the value of this property is nil (the default), the snapshotter derives the appropriate appearance based on the following logic: If the user specifically disables Dark Mode for map content in the Maps app, the snapshot uses a light appearance. The snapshot uses your app’s appearance. The snapshot uses the system appearance.

## See Also

### Configuring the image output

- [traitCollection](mapkit/mkmapsnapshotter/options/traitcollection.md)
- [size](mapkit/mkmapsnapshotter/options/size.md)
- [scale](mapkit/mkmapsnapshotter/options/scale.md)
