What fonts do iPhone applications support? [closed]
Solution 1:
You should be able to use any of those fonts, provided you know the appropriate name. There are calls to enumerate the font families and individual fonts in those families on the phone, but a complete listing is available on this site.
Solution 2:
There is a free iPhone app called "Fonts" that will display all the installed fonts. (To download it, click this iTunes link.)
But note that the fonts installed on your personal iPhone or simulator may not be the same as the set of fonts installed on other devices.
Solution 3:
Use the below code for getting all the fonts in system
// Get all the fonts on the system
NSArray *familyNames = [UIFont familyNames];
for( NSString *familyName in familyNames ){
printf( "Family: %s \n", [familyName UTF8String] );
NSArray *fontNames = [UIFont fontNamesForFamilyName:familyName];
for( NSString *fontName in fontNames ){
printf( "\tFont: %s \n", [fontName UTF8String] );
}
}