Welcome![Sign In][Sign Up]
Location:
Search - iOS FontTest

Search list

[IOSFontTest

Description: 在iPhone上测试iOS字体;主要是通过UIFont类来获得当前iPhone系统的字体。 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] ) [mListFontName addObject:fontName] } } -Test iOS fonts on iPhone, use UIFont class to get all fonts in current iPhone iOS. 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] ) [mListFontName addObject:fontName] } }
Platform: | Size: 11264 | Author: 巫山冰 | Hits:

CodeBus www.codebus.net