title: Resizing UISearchBar in UINavigationBar titleView doesn't work
body: <p>Resizing <code>UISearchBar</code> in <code>UINavigationBar</code> titleView doesn't work.</p>
  
  <p><a href="https://i.stack.imgur.com/Fj4wM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fj4wM.png" alt="UISearchBar"></a></p>
  
  <p>I also got two navigation items on each side of the <code>UINavigationBar</code>.</p>
  
  <pre><code> @IBAction func searchButtonPressed(sender: UIButton) {
  
  
          searchWrap.frame = self.resultSearchController.searchBar.bounds
          searchWrap .addSubview(self.resultSearchController.searchBar)
          self.resultSearchController.active = true
          self.resultSearchController.searchBar.becomeFirstResponder()
          if (UIDevice.currentDevice().userInterfaceIdiom == UIUserInterfaceIdiom.Pad)
          {
               self.tableView.tableHeaderView = searchWrap
          }
          else
          {
              self.navigationItem.titleView = searchWrap
          }
  
          searchIsOn = true
          searchButton.hidden = true
          filterButton.hidden = true
          favButtonStar.hidden = true
          settingsButton.hidden = true
  
  
      }
  </code></pre>
  
  <p>even if set the frame it automatically resizes.</p>