title: UISearchBar completely custom background
body: <p>I am trying to change the appearance of an UISearchBar to obtain the following result</p>
  
  <p><a href="http://imageshack.com/a/img194/3835/jhl7.png" rel="nofollow noreferrer">Custom Search Bar http://imageshack.com/a/img194/3835/jhl7.png</a></p>
  
  <p>I tried with UIAppearance methods, and also by removing the UISearchBarBackground, but it seems that the border of the textfield cannot be removed.</p>
  
  <p>The best result i obtained is : </p>
  
  <p><img src="https://i.stack.imgur.com/bpj2u.png" alt="actual search bar"></p>
  
  <p>The problem is not the magnifying glass, but the border :)</p>