I would like to know how to hide or not display the UISearchBar cross that appears in the textField fo the UISearchBar
UISearchBar
textField
I have
Swift 3, based on @Alexsander answer:
searchBar.setImage(UIImage(), for: .clear, state: .normal)