w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Hide UISearchBar clear text button

You need to get the textField of the Search Bar:

UITextField *textField = [searchBar
valueForKey:@"_searchField"];
textField.clearButtonMode = UITextFieldViewModeNever;

hope this help! =)





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.