---
title: isPreview
framework: Screen Saver
role: symbol
role_heading: Instance Property
platforms: [macOS 10.0+]
path: screensaver/screensaverview/ispreview
---

# isPreview

A Boolean value that indicates whether the screen saver view is set to a size suitable for previewing its content.

## Declaration

```swift
var isPreview: Bool { get }
```

## Discussion

Discussion The system sets the value of this property to true when it creates a smaller preview of your screen saver. When the value is false, your view matches the size of the screen. Use this property to adjust the content you present. For example, you might change the drawing parameters or data you display in your view.

## See Also

### Drawing the view

- [draw(_:)](screensaver/screensaverview/draw(_:).md)
