So in Xcode I\'m trying to create a seamless search bar. So I\'m trying to replicate something like this
Note how the status bar is the same color as the s
The best solution to remove top and bottom default borders is:
To set a new empty searchBar background layout in viewDidLoad for example:
viewDidLoad
searchBar.backgroundImage = UIImage()