Protocol

UIPopoverBackgroundViewMethods

A set of methods that UIPopoverBackgroundView subclasses must implement.

Declaration

protocol UIPopoverBackgroundViewMethods

Overview

The methods in this protocol are called only once when the popover is presented. All methods of this protocol are required.

Topics

Returning the Content View Insets

static func contentViewInsets() -> UIEdgeInsets

The insets for the content portion of the popover.

Required.

Accessing the Arrow Metrics

static func arrowBase() -> CGFloat

The width of the arrow triangle at its base.

Required.

static func arrowHeight() -> CGFloat

The height of the arrow (measured in points) from its base to its tip.

Required.

Relationships

Conforming Types

See Also

Popovers

Displaying Transient Content in a Popover

Show a temporary interface on top of your app’s content on iPad.

class UIPopoverPresentationController

An object that manages the display of content in a popover.

class UIPopoverBackgroundView

The background appearance for a popover.