Contents

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