Created
August 29, 2013 12:46
-
-
Save magnusottosson/6377623 to your computer and use it in GitHub Desktop.
iOS: Log all font names that are installed and available to the app
This file contains 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
for (NSString *familyName in [UIFont familyNames]) | |
{ | |
for (NSString *fontName in [UIFont fontNamesForFamilyName:familyName]) | |
{ | |
NSLog(@"%@", fontName); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment