标签:
1 UIButton *clearButton = [self.textField valueForKey:@"_clearButton"]; 2 [clearButton setImage:[UIImage imageNamed:@"图片"] forState:UIControlStateNormal];
自定义 textField 的清除 button
原文地址:http://www.cnblogs.com/fengmin/p/5541310.html