1.先把第三方字体库文件拖到工程中
2.修改Info.plist:
添加Fonts provided by application属性,
设值为字体体文件名
3.点选Project文件,
查看Build Phases中的Compile Sources,
如果没有字体库文件, 点+号添加.
如果Compile Sources没有字体库文件
4.你就可以建个label来检验你的成果了
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(50, 200, 200, 35)];
label.text = @"Hello World";
label.textColor = [UIColor orangeColor];
label.font = [UIFont fontWithName:@"Neou-Thin" size:25];
// label.font = [UIFont systemFontOfSize:25];
[self.view addSubview:label];