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
For iOS 7+:
searchBar.backgroundImage = UIImage()
Otherwise this will work on all iOS versions:
searchBar.layer.borderWidth = 1 searchBar.layer.borderColor = thatBlueColor.CGColor