UIContentContainer
UIContentContainer is a protocol in UIKit that defines the interface for objects that act as containers for other view controllers. Container view controllers adopt this protocol to coordinate the presentation and layout of their content with the system and with their child view controllers. The protocol establishes a lightweight contract that enables consistent handling of content size and related updates across different container implementations.
A central responsibility of UIContentContainer is to provide and respond to content size information. The protocol
In practice, UIContentContainer is used in conjunction with the view controller containment APIs in UIKit. Container
Overall, UIContentContainer provides a standardized, minimal interface that helps the system coordinate content sizing and presentation