iphoneiphone-sdk-3.2xcode3.2uifont

how to add new font to Xcode 3.2?


please tell me how to add new font to iphone xcode3.2.


Solution

  • This functionality isn't built into UILabel/UIFont in iOS < 3.2. But there is a third-party solution you can use: FontLabel

    In iOS 3.2+, there's the UIAppFonts plist key!

    Just do this before using it: add your font file (such as myfont.ttf) to your project, then edit the Info.plist like so:

    info.plist