Skip to content

Instantly share code, notes, and snippets.

@marinofelipe
Last active April 8, 2019 03:22
Show Gist options
  • Save marinofelipe/850ae31e671bd9442d4f216b4e6c3b51 to your computer and use it in GitHub Desktop.
Save marinofelipe/850ae31e671bd9442d4f216b4e6c3b51 to your computer and use it in GitHub Desktop.
Blog post / Dynamic Type - Adapting the label to adjust for content size category changes
if #available(iOS 10.0, *) {
label.adjustsFontForContentSizeCategory = true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment