修改searchBar搜索框的删除按钮颜色值

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/cjh16102377/article/details/50517085
   [_searchBar setImage:[UIImage imageNamed:@"技师_搜索_删除按钮"] forSearchBarIcon:UISearchBarIconClear state:UIControlStateNormal];
    UITextField *txfSearchField = [_searchBar valueForKey:@"searchField"];
    txfSearchField.backgroundColor = UIColorFromRGB(0XEEEEEE);

没有更多推荐了,返回首页