Skip to content

Instantly share code, notes, and snippets.

@brocoo
Last active August 29, 2015 13:57
Show Gist options
  • Save brocoo/9820694 to your computer and use it in GitHub Desktop.
Save brocoo/9820694 to your computer and use it in GitHub Desktop.
Available UIFonts on iOS
NSArray *fontFamilies = [UIFont familyNames];
for (int i = 0; i < [fontFamilies count]; i++){
NSString *fontFamily = fontFamilies[i];
NSArray *fontNames = [UIFont fontNamesForFamilyName:fontFamilies[i]];
NSLog (@"%@: %@", fontFamily, fontNames);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment