Xcode 9 custom fonts not working

后端 未结 5 959
一向
一向 2020-12-19 00:13

Custom fonts not working in Xcode 9. However if I open the same project in Xcode 8, the custom fonts work as expected

I\'ve ran this piece of code to ensure the font

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-19 00:52

    I solved custom font issue in my projects using Xcode 9. Here are the following steps-

    1- Add to the font in the bundle. 2- add in plist file font name under Fonts provided by application 3- Go to Target->build phase and add your font files.

    Now you can run your project.It will show to the custom font in your application.

提交回复
热议问题