NSArray *familyNames = [UIFont familyNames]; for( NSString *familyNameinfamilyNames ){ printf( "Family: %s \n", [familyNameUTF8String] ); NSArray *fontNames = [UIFont fontNamesForFamilyName:familyName]; for( NSString *fontNameinfontNames ){ printf( "\tFont: %s \n", [fontNameUTF8String] ); } }
原文地址:http://blog.csdn.net/xietao3/article/details/39896471