font in iphone sdk?
is it possible to bring another lang开发者_如何学运维uage font in iphone sdk and to insert that font value (for example,chinese) in UILabel value? any help please?
You can include the font as a resource in the project, then load the font using CoreText but it's not trivial.
The main step is to create a CTFontDescriptor that will load the font. There is sample code in the iPhone SDK documentation that I can't quote, the name of the section I found useful is...
CoreText Listing 2-9 "Creating a font from serialized data"
精彩评论