Embedding Custom Fonts in iOS [iPhone, iPad]
Posted in digitalfractalMobileserene
Though iOS 4 comes with a variety of fonts, you may want to include additional ones for an application.
Recently, we had to include Arial Black in our UIWebView for a card viewer application.
Here is how:
You drag the *.ttf file into the Resources folder Add a row to the *-info.plist file called “UIAppFonts” (of type Array) It will change to say “Fonts provided by application” Add the full name of the font in the Array – i.e. “Arial Black.ttf” Now you can use the font in your HTML as you would regularly.