I'm using ttf fonts for icon but I'm getting a problem to use them, in xCode right side of font it showing ? because of this ? I'm not able to use these fonts
Asked
Active
Viewed 140 times
-2

tryKuldeepTanwar
- 3,490
- 2
- 19
- 49

P.aishly
- 21
- 5
-
1Go to your build phases, and in that copy bundle resources check if your fonts are added there. If not, add them. Also you need add an array entry named "Fonts provided by application" in info.plist, and then you need to add your fonts name with extension as items to that array. For more info: http://codewithchris.com/common-mistakes-with-adding-custom-fonts-to-your-ios-app/ – iamyogish May 24 '16 at 07:08
-
1The question marks to the side have nothing to do with your fonts being usable, they relate to source control - just indicating that the files are not being tracked, whereas the "A" means they have been added. – ttarik May 24 '16 at 07:50
-
1I'm voting to close this question as off-topic because it's related to source control and the question as it stands makes no sense. – Eiko May 24 '16 at 09:39
1 Answers
0
Select the particular .ttf in whose right side of font it showing '?' . Inspect the status of the particular .ttf in Source Control in File Inspector.
If not added Add the particular file. you can get step by step instructions from @SVMRAJESH answer. Hope it helps. Happy Coding!!

Community
- 1
- 1

luckyShubhra
- 2,731
- 1
- 12
- 19