Skip to content

Instantly share code, notes, and snippets.

@wangruocong
Last active August 29, 2015 14:26
Show Gist options
  • Save wangruocong/eff7213869ed64efad53 to your computer and use it in GitHub Desktop.
Save wangruocong/eff7213869ed64efad53 to your computer and use it in GitHub Desktop.
UIButton *clearButton = [myTextField valueForKey:@"_clearButton"];
[clearButton setImage:[UIImage new] forState:UIControlStateNormal];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment