i will like to know how do i need to change a UISearchBar from the default round curve to a rectangle.
Much better in my opinion:
UITextField *txfSearchField = [_searchBar valueForKey:@"_searchField"]; txfSearchField.borderStyle = UITextBorderStyleNone;