UIButton *clearButton = [self.textField valueForKey:@"_clearButton"];
[clearButton setImage:[UIImage imageNamed:@"search_clear_button"] forState:UIControlStateNormal];
时间: 2024-10-04 18:36:42
UIButton *clearButton = [self.textField valueForKey:@"_clearButton"];
[clearButton setImage:[UIImage imageNamed:@"search_clear_button"] forState:UIControlStateNormal];