i am trying to remove search bar border but not able to do , i have set search bar background color to clear still rounded border is come , i want 
but my search  bar looks like this 
how i create search bar like this
thank you
i am trying to remove search bar border but not able to do , i have set search bar background color to clear still rounded border is come , i want 
but my search  bar looks like this 
how i create search bar like this
thank you
An easy solution is to choose a color that matches the background (white in this case)
Swift 4
UISearchBar.appearance().barTintColor = .white