Contents

popoverBackgroundViewClass

The class to use for displaying the popover background content.

Declaration

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

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