UISearchController Search Bar Position Drops 64 points
问题 The search bar is appearing exactly 64 points too low: All of the other frames are exactly correct. Edit: - It's the UISearchController 's view that is getting the wrong origin.y . It gets set to 64, when it should be 0. If I add this method: - (void)didPresentSearchController:(UISearchController *)searchController { [super didPresentSearchController:searchController]; searchController.view.frame = CGRectMake(0, 0, searchController.view.frame.size.width, searchController.view.frame.size