Last active
April 8, 2019 03:22
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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