Contents

setContentView(_:animated:)

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

Declaration

func setContentView(_ viewController: UIViewController, animated: Bool)

Parameters

  • viewController:

    The new view controller whose content should be displayed by the popover.

  • animated:

    Specify True if the change of view controllers should be animated or False if the change should occur immediately.

See Also

Configuring the popover content