Instance Property

sourceView

The view containing the anchor rectangle for the popover.

Declaration

var sourceView: UIView? { get set }

Discussion

Use this property in conjunction with the sourceRect property to specify the anchor location for the popover. Alternatively, you may specify the anchor location for the popover using the barButtonItem property.

See Also

Specifying the Popover’s Anchor Point

var barButtonItem: UIBarButtonItem?

The bar button item on which to anchor the popover.

var sourceRect: CGRect

The rectangle in the specified view in which to anchor the popover.