Skip to content

Instantly share code, notes, and snippets.

@jlcampana
Created September 3, 2012 14:16
Show Gist options
  • Save jlcampana/3609629 to your computer and use it in GitHub Desktop.
Save jlcampana/3609629 to your computer and use it in GitHub Desktop.
Calcular el ancho de una label
CGSize expectedLabelSize = [yourString sizeWithFont:yourLabel.font
constrainedToSize:maximumLabelSize
lineBreakMode:yourLabel.lineBreakMode];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment