tvOS 14.3 UISearchController: How to locked in display.

In every OS iteration the look of the UISearchController is changing. Before it only change the keyboard portion but with 14.3 it changed that the keyboard portion is on left side while the search results are on the right, which is what we don't like since we have custom view and overlays on top of it.

Any APIs to make it revert to the previous iteration, that is the keyboard are all within one horizontal line and search results on bottom, and stay that way forever?

Here's the code for the integration. The UI look did mess up he app overall.

Code Block _searchResults = [[UITableViewController alloc] init];
    _searchController = [[UISearchController alloc] initWithSearchResultsController:_searchResults];
    _searchController.searchResultsUpdater = self;
    _searchController.view.backgroundColor = [UIColor clearColor];
    _searchController.searchBar.keyboardAppearance = UIKeyboardAppearanceDark;
    _searchController.searchBar.placeholder = @"TV Shows, Movies, Keywords";
    _searchController.obscuresBackgroundDuringPresentation = false;
    _searchController.hidesNavigationBarDuringPresentation = true;
     
    _searchContainer = [[UISearchContainerViewController alloc] initWithSearchController:_searchController];
    _navController = [[UINavigationController alloc] initWithRootViewController:_searchContainer];
     
  [_navController willMoveToParentViewController:self];
  [self addChildViewController:_navController];
  [self.view addSubview:_navController.view];


PS: it'll be a lot helpful if I can post the image link
You have to set keyboardType.
Code Block
searchController.searchBar.keyboardType = .default


There isn't a way for an app to control the layout of the keyboard on UISearchController at this time. The layout is determined by a number of factors, including the type of the remote the user is using, the keyboard style setting in General settings view, and the enabled keyboards (If any of the keyboards requires a linear keyboard style, they'll always get a linear keyboard).

For the best user experience, your search results controller should be able to work with both layouts.

tvOS 14.3 UISearchController: How to locked in display.
 
 
Q