Custom Font in ios not working

前端 未结 17 1903
北海茫月
北海茫月 2020-12-07 22:53

I want to use HelveticaNeue-UltraLight in my ios application. I\'m adding the font file as a resource to my project and adding the \"Fonts provided by application\" key in t

17条回答
  •  执笔经年
    2020-12-07 23:09

    Another thing to check is on a Mac: Open the app Font Book. Then go file -> file validation and open the font. If something is failing (even with a warning) in there iOS generally rejects loading the font in the app with no errors.

    If this is the case then you can fix the errors by opening the font in a free app called "Typelight" And resaving the font "Save as".

提交回复
热议问题