改变iOS searchBar中textField的背景颜色

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

 textField.backgroundColor = YCColor(220, 220, 220, 1);

猜你喜欢

转载自blog.csdn.net/howlong12345/article/details/51500362