Instance Method

containerViewDidLayoutSubviews()

Called to notify the presentation controller that layout ended on the views of the container view.

Declaration

func containerViewDidLayoutSubviews()

Discussion

UIKit calls this method after adjusting the layout of the views in the container view. Use this method to make any additional changes to the view hierarchy.

See Also

Adjusting the Size and Layout of the Presentation

var frameOfPresentedViewInContainerView: CGRect

The frame rectangle to assign to the presented view at the end of the animations.

var overrideTraitCollection: UITraitCollection?

Interface traits for the presented view controller, to use in place of traits from the iOS environment.

func containerViewWillLayoutSubviews()

Notifies the presentation controller that layout is about to begin on the views of the container view.