我按照这个教程中的步骤,将自定义字体显示在了我的Storyboard上,但是当我在模拟器或设备上运行我的应用时,字体并没有生效。有人能帮忙吗? 我所做的如下:
1- downloaded a .ttf file and copied it to my project
2- added "Fonts Provided By Application" in info.plist and added a row having the name of my custom font.
3- opened storyboard and selected the UILabel i want to have a custom font for, and selected the font as custom then selected my font. the font was shown on the storyboard correctly.
我有什么遗漏吗?