Created
February 29, 2012 15:27
-
-
Save nutsmuggler/1941597 to your computer and use it in GitHub Desktop.
Show the available fonts on an iOs 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
NSArray *names = [UIFont familyNames]; | |
NSArray *fontFaces; | |
NSLog(@"Font FamilyNames"); | |
for (NSString *name in names) { | |
NSLog(@"Font Family: %@",name); | |
fontFaces = [UIFont fontNamesForFamilyName:name]; | |
for (NSString *fname in fontFaces) { | |
NSLog(@" %@",fname); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment