Skip to content

Instantly share code, notes, and snippets.

@marinofelipe
Last active April 8, 2019 03:22
Show Gist options
  • Save marinofelipe/5054e973aa9907a21b6a21c36da2dc13 to your computer and use it in GitHub Desktop.
Save marinofelipe/5054e973aa9907a21b6a21c36da2dc13 to your computer and use it in GitHub Desktop.
Blog post / Dynamic Type - Setting a dynamic size text to a label using one of system's built-in text styles
label.font = UIFont.preferedFont(forTextStyle: .body)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment