我遵循了这个教程,自定义字体显示在我的故事板上但是当我执行我的应用程序(在模拟器或设备上)时,字体没有反映出来.有谁可以帮忙.这就是我做的:
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.
Run Code Online (Sandbox Code Playgroud)
我错过了什么吗?