Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Function to iterate available iOS Fonts
// Source:
- (void)viewDidLoad {
[super viewDidLoad];
// iterate through all available fonts
for (NSString* family in [UIFont familyNames])
NSLog(@"%@", family);
for (NSString* name in [UIFont fontNamesForFamilyName: family])
NSLog(@" %@", name);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment