ios - Importing external fonts to iPhone application -


this question has answer here:

how can import external arabic , english fonts iphone application ?

for importing custom fonts in ios app

  1. add .ttf or .otf font downloaded in application.
  2. modify plist file i.e. application-info.plist file.
  3. add key "fonts provided application" in new row.
  4. and add each .ttf or .otf file (of font) each line.

info.plist screen shot

and in label or textfield

yourlabel.font = [uifont fontwithname:@"your_font" size:15]; 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -