The view in which the presentation occurs.
- iOS 8.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
UIKit sets the value of this property shortly after receiving the presentation controller from your transitioning delegate. The container view is always an ancestor of the presented view controller’s view. During transition animations, the container view also contains the presenting view controller’s view. When adding custom views to a presentation, add them to the container view.
If your transition also employs custom animator objects, those objects can get this container view from the
container property of the context object provided by UIKit.