Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ViewController.m
// to list down all the available fonts in iOS
for (NSString *fontFamilyName in [UIFont familyNames]) {
for (NSString *fontName in [UIFont fontNamesForFamilyName:fontFamilyName]) {
NSLog(@"Family: %@ Font: %@", fontFamilyName, fontName);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment