Instance Property

presentedViewController

The view controller being presented.

Declaration

var presentedViewController: UIViewController { get }

Discussion

This object corresponds to the one passed as the first parameter of the present(_:animated:completion:) method. The successful conclusion of the presentation process causes this view controller’s content to be displayed onscreen.

See Also

Getting the Presentation Objects

var presentingViewController: UIViewController

The view controller that is the starting point for the presentation.

var containerView: UIView?

The view in which the presentation occurs.

var presentedView: UIView?

The view to be animated by the animator objects during a transition.