Skip to content

Instantly share code, notes, and snippets.

@milafrerichs
Created April 11, 2012 17:54
Show Gist options
  • Save milafrerichs/2360912 to your computer and use it in GitHub Desktop.
Save milafrerichs/2360912 to your computer and use it in GitHub Desktop.
Left aligned button on iOS
button.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
button.contentEdgeInsets = UIEdgeInsetsMake(0, 10, 0, 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment