ios - Custom font is not added to project -


i have same issue described here

i have font called antiquaa.ttf. font added supporting files of project. in app plist have entry fonts provided application , antiquaa.ttf added there.

i can't use font in app. when run method can't see font.

 nsarray *familynames = [[nsarray alloc] initwitharray:[uifont familynames]];     nsarray *fontnames;     nsinteger indfamily, indfont;     (indfamily=0; indfamily<[familynames count]; ++indfamily)     {         nslog(@"family name: %@", [familynames objectatindex:indfamily]);         fontnames = [[nsarray alloc] initwitharray:                      [uifont fontnamesforfamilyname:                       [familynames objectatindex:indfamily]]];         (indfont=0; indfont<[fontnames count]; ++indfont)         {             nslog(@"    font name: %@", [fontnames objectatindex:indfont]);         }         [fontnames release];     }     [familynames release]; 

what missing ?

push add button in "copy bundle resources" , click on font files.

enter image description here


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -