---
title: isModalInPresentation
framework: imageplayground
role: symbol
role_heading: Instance Property
path: imageplayground/imageplaygroundviewcontroller/ismodalinpresentation
---

# isModalInPresentation

A Boolean value indicating whether the view controller enforces a modal behavior.

## Declaration

```swift
@MainActor @preconcurrency override dynamic var isModalInPresentation: Bool { get set }
```

## Discussion

Discussion The view controller prevents swiping or tapping away its interface if there are active changes.
