containerView
Returns the view in which the transition takes place.
Declaration
var containerView: UIView { get }Return Value
The container view for the transition animation.
Discussion
The container view acts as the host view for any animations between the transitioning view controllers. When animating your own custom views, add them to the container view if you want them to interoperate with the view controllers’ views.