Issue while adding Font Awesome in Xcode 7.2

前端 未结 1 331
夕颜
夕颜 2021-01-24 02:44

I am trying to FontAwesome in my iPhone app. I have set Up all things.

But every time I am getting this ?(question)mark Image . I am sure that I have added

相关标签:
1条回答
  • 2021-01-24 03:11

    I am sure that I have added the font Correctly In my Project and also in Plist

    Well, don't be sure. Clearly you have not added it correctly.

    The problem is that, although the font file is in your project, it is not being copied into your app. Thus, it is not available in the running app.

    Here's how to fix that.

    In the project navigator (your first screen shot), select the FontAwesome.ttf file. Now look at the File inspector on the right. Now look at the Target Membership section. Make sure that the app target is checked.

    0 讨论(0)
提交回复
热议问题