---
title: dimsBackgroundDuringPresentation
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uisearchcontroller/dimsbackgroundduringpresentation
---

# dimsBackgroundDuringPresentation

A Boolean indicating whether to dim the underlying content during a search.

## Declaration

```swift
var dimsBackgroundDuringPresentation: Bool { get set }
```

## See Also

### Deprecated

- [searchControllerObservedScrollView](uikit/uisearchcontroller/searchcontrollerobservedscrollview.md)
