方法:
前往字体网站 DaFont - Download fonts 下载所需字体。
-
讲下载好的文件拖拽到项目中,根据提示,进行如下选中操作:
-
设置 info.plist 文件,添加 Fonts provided by application 设置:
使用方法:
经过以上操作,在项目中就可以使用我们新添加的字体了。在 xib/storyboard 文件可选择该字体,也可以 code 设置,如:
[self.label setFont:[UIFont fontWithName:@"LemonMilk" size:50]];
It's really really cool!

