自定义 textField 的清除 button

1 UIButton *clearButton = [self.textField valueForKey:@"_clearButton"];
2 [clearButton setImage:[UIImage imageNamed:@"图片"] forState:UIControlStateNormal];   

 

posted @   FMDN  阅读(970)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示