Can't use custom font in iOS app

前端 未结 6 837
不知归路
不知归路 2021-01-03 10:55

I\'m trying to use custom font for my iOS app. Here is what I do

I added my custom font (m.tff) to Xcode Supporting files directory. Also I create entry called Fonts

6条回答
  •  Happy的楠姐
    2021-01-03 11:27

    1. Make sure your fonts are in info.plist (Fonts provided by application)
    2. Select yor target, in the build phases tab, Copy Bundle Resources, add your fonts.

提交回复
热议问题