Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Retrieve a list of all fonts available on the iPhone.
NSArray *familyNames = [UIFont familyNames];
for (NSString *familyName in familyNames)
{
NSLog(@"Family: %@\n", familyName);
NSArray *fontNames = [UIFont fontNamesForFamilyName:familyName];
for (NSString *fontName in fontNames)
{
NSLog(@"\tFont: %@\n", fontName);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.