外接字体库(.otf .ttf)
步骤:
1.将字体库拉进项目
2.在info.plist 中添加 Fonts provided by application 属性
3.UILabel /font属性/点击右边T图标/custom/Family选择需要的字体库名字就可以 或者 xx.font = [UIFont fontWithName"XXX" size:20.0]

步骤:
1.将字体库拉进项目
2.在info.plist 中添加 Fonts provided by application 属性
3.UILabel /font属性/点击右边T图标/custom/Family选择需要的字体库名字就可以 或者 xx.font = [UIFont fontWithName"XXX" size:20.0]
本文标题:iOS_外接字体库
本文链接:https://www.haomeiwen.com/subject/nxskgttx.html
网友评论