1.字体文件
2.拖入项目.
3.找到Info.plist
添加 Fonts provided by application,字符串是字体文件名.
然后.
swift:label.font = UIFont.init(name: "<#AmericanTypewriter-Light#>", size: 18); OC:label.font = [UIFont fontWithName:@"<#AmericanTypewriter-Light#>" size:18];
结果:
学自:http://jingyan.baidu.com/article/4853e1e51e72111909f726f9.html