In UIKit, I really like the layout convention on iPhone where the search bar appears as a button in the toolbar at the bottom of the screen, and the user can tap it to see the actual search bar, also at the bottom.
viewController.navigationItem.searchBarPlacementAllowsToolbarIntegration = true
viewController.navigationItem.preferredSearchBarPlacement = .integratedButton
let spacer = UIBarButtonItem.flexibleSpace()
let searchbarPlacer = viewController.navigationItem.searchBarPlacementBarButtonItem
viewController.toolbarItems = [spacer, searchbarPlacer]
However, on iPad I'm having trouble getting the same effect; the search button wants to appear at the top, in the navigation bar, even though I'm specifically asking it to appear at the bottom, in the toolbar. How do I get the same layout on iPad?