// ------清除Button
UIButton *clearButton = [self.textField valueForKey:@"_clearButton"];
[clearButton setImage:[UIImage imageNamed:@"图片"] forState:UIControlStateNormal];
// ------
// ------清除Button
UIButton *clearButton = [self.textField valueForKey:@"_clearButton"];
[clearButton setImage:[UIImage imageNamed:@"图片"] forState:UIControlStateNormal];
// ------
本文标题:38、[ iOS ] 自定义 textField 的清除butt
本文链接:https://www.haomeiwen.com/subject/drqerttx.html
网友评论