Skip to content

Instantly share code, notes, and snippets.

@pixelrevision
Created March 2, 2013 04:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pixelrevision/5069770 to your computer and use it in GitHub Desktop.
Save pixelrevision/5069770 to your computer and use it in GitHub Desktop.
Print all font family names in ios
NSArray *familyNames = [UIFont familyNames];
for(NSString *family in familyNames){
NSLog(@"-%@", family);
NSArray *fontNames = [UIFont fontNamesForFamilyName:family];
for(NSString *font in fontNames){
NSLog(@"----%@", font);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment