UITextField *searchField = [mySearchBar valueForKey:@"_searchField"]; searchField.textColor = [UIColor blueColor]; //You can put any color here.
UITextField *searchField = [mySearchBar valueForKey:@"_searchField"]; searchField.textColor = [UIColor blueColor]; //You can put any color here.
转载于:https://www.cnblogs.com/joesen/p/3783218.html