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.
PS: it'll be a lot helpful if I can post the image link
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