UIFont fontWithName returns nil

前端 未结 6 1246
我寻月下人不归
我寻月下人不归 2020-12-16 10:22

In my info.plist, I added a key \"Fonts provided by application\" and added EdwardianScriptITCStd.otf \"ent

6条回答
  •  太阳男子
    2020-12-16 11:04

    I had this problem although I swore I had custom fonts working just fine previously.

    Turns out I just needed to run "Clean" on my project in XCode project so it could re-establish the references.

提交回复
热议问题