i will like to know how do i need to change a UISearchBar from the default round curve to a rectangle.
Swift 3
let textFieldInsideUISearchBar = searchBar.value(forKey: "searchField") as? UITextField textFieldInsideUISearchBar?.borderStyle = .none textFieldInsideUISearchBar?.backgroundColor = UIColor.white