title: Recreating the Quora app iOS 7 UISearchBar
body: <p>Quora's iOS 7 app seemingly displays a UISearchBar in the main UINavigationController's UINavigationBar. Search is triggered by tapping on the right bar button item in that bar and animates in from the right. Everything appears to happen in a single view controller.</p>
  
  <p>Apple introduced the "displaysSearchBarInNavigationBar" property to UISearchDisplayController in iOS 7, but I don't believe that Quora have used this. It's not possible to have a titleView in the navigation bar when set and the Quora app certainly appears to have this.</p>
  
  <p>Apple's Calendar app uses a separate view controller for search, but keeping search in the same view controller as the content, as Quora do, is a nicer experience for the user.</p>
  
  <p>The only way I've thought to do this might be to use custom UIViewController transitions, but that feels like an overkill. Is there a simpler way to create this?</p>