title: How to change height of search bar? Swift
body: <p>I have this:</p>
  
  <p><a href="http://postimg.cc/image/oepn8hhzd/" rel="nofollow noreferrer">http://postimg.cc/image/oepn8hhzd/</a></p>
  
  <p>and I need this one: </p>
  
  <p><a href="http://postimg.cc/image/4bacislw5/" rel="nofollow noreferrer">http://postimg.cc/image/4bacislw5/</a></p>
  
  <p>My code of search bar</p>
  
  <pre><code>var searchBar:UISearchBar = UISearchBar(frame: CGRectMake(0, 0, 200, 0))
  
  
      searchBar.tintColor = UIColor.blueColor()
      self.searchBar.layer.borderColor = UIColor.blueColor().CGColor
      self.searchBar.layer.borderWidth = 0.5
      self.searchBar.layer.cornerRadius = 5.0
      self.searchBar.clipsToBounds = true
      searchBar.placeholder = "Search for cities"
      searchBar.sizeToFit()
  
  
      self.searchBar.setImage(UIImage(named: "Search@3x"), forSearchBarIcon: UISearchBarIcon.Search, state: UIControlState.Normal)
      self.searchBar.setImage(UIImage(named: "Close@3x"), forSearchBarIcon: UISearchBarIcon.Clear, state: UIControlState.Normal)
  
      searchBar.delegate = self
  
  
      var leftNavBarButton = UIBarButtonItem(customView: searchBar)
      self.navigationItem.leftBarButtonItem = leftNavBarButton
  </code></pre>
  
  <p>Any ideas?
  (Sorry for links, I cannot insert images)</p>