UISearchContainerViewController
A view controller that manages the presentation of search results in your interface.
Declaration
@MainActor class UISearchContainerViewControllerOverview
In tvOS, rather than push a UISearchController onto a navigation controller’s stack or use one as a child of another container view controller, embed an instance of this class and let it manage the presentation of the search controller’s content.
UISearchContainerViewController presents its UISearchController, instead of containing it. So implement view appearance methods, such as viewWillAppear(_:) and didMove(toParent:) on both view controllers.