Skip to content

Instantly share code, notes, and snippets.

@jeffbailey
Created February 10, 2014 20:08
Show Gist options
  • Save jeffbailey/8923232 to your computer and use it in GitHub Desktop.
Save jeffbailey/8923232 to your computer and use it in GitHub Desktop.
Move a UIButtonImage to the right hand side to appear after the label
button.imageEdgeInsets = UIEdgeInsetsMake(0., button.frame.size.width - (image.size.width + 15.), 0., 0.);
button.titleEdgeInsets = UIEdgeInsetsMake(0., 0., 0., image.size.width);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment