---
title: popoverBackgroundViewClass
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uipopoverpresentationcontroller/popoverbackgroundviewclass
---

# popoverBackgroundViewClass

The class to use for displaying the popover background content.

## Declaration

```swift
var popoverBackgroundViewClass: (any UIPopoverBackgroundViewMethods.Type)? { get set }
```

## Discussion

Discussion The default value of this property is nil, which causes the presentation controller to use the default popover appearance. Setting this property to a value other than nil causes the presentation controller to use the specified class to draw the popover’s background content. The class you specify must be a subclass of UIPopoverBackgroundView.

## See Also

### Configuring the popover appearance

- [popoverLayoutMargins](uikit/uipopoverpresentationcontroller/popoverlayoutmargins.md)
- [backgroundColor](uikit/uipopoverpresentationcontroller/backgroundcolor.md)
- [passthroughViews](uikit/uipopoverpresentationcontroller/passthroughviews.md)
- [canOverlapSourceViewRect](uikit/uipopoverpresentationcontroller/canoverlapsourceviewrect.md)
