CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - iOS FontTest
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - iOS FontTest - List
[
IOS
]
FontTest
DL : 0
在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] } }
Date
: 2025-07-04
Size
: 11kb
User
:
巫山冰
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.