相关疑难解决方法(0)

IOS中的自定义字体未在设备上反映

我遵循了这个教程,自定义字体显示在我的故事板上但是当我执行我的应用程序(在模拟器或设备上)时,字体没有反映出来.有谁可以帮忙.这就是我做的:

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)

我错过了什么吗?

iphone fonts ios swift2.1

3
推荐指数
1
解决办法
670
查看次数

标签 统计

fonts ×1

ios ×1

iphone ×1

swift2.1 ×1