修改UISearchBar输入框字体颜色时间:2023-03-09 19:45:52 UITextField *searchField = [mySearchBar valueForKey:@"_searchField"]; searchField.textColor = [UIColor blueColor]; //You can put any color here.