Contents

contentViewController

The view controller responsible for the content portion of the popover.

Declaration

var contentViewController: UIViewController { get set }

Discussion

This property is initially set to the view controller passed to the init(contentViewController:) method. You can change the value of this property later to reflect a new set of content. Changing the value of this property swaps the new view controller in for the old one immediately and does not trigger an animation. If you want to animate the change, use the setContentView(_:animated:) method instead.

See Also

Configuring the popover content