---
title: backgroundColor
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uipopovercontroller/backgroundcolor
---

# backgroundColor

The color of the popover’s backdrop view.

## Declaration

```swift
@NSCopying var backgroundColor: UIColor? { get set }
```

## Discussion

Discussion Use this property to customize the background color of your popover. Changing the value of this property while the popover is visible triggers an animated changeover to the new color. The default value of this property is nil, which corresponds to the default background color.

## See Also

### Customizing the popover appearance

- [layoutMargins](uikit/uipopovercontroller/layoutmargins.md)
- [backgroundViewClass](uikit/uipopovercontroller/backgroundviewclass.md)
