如何在 uiLabel 中应用 FS Elliot 字体 xcode

How to apply FS Elliot font in a uiLabel xcode

任何人都可以指导我如何 change/apply font:FS Elliot on a UILabel。我一直在搜索 Google 并找到了 none。任何帮助将不胜感激。提前致谢。

01 将你的ttf字体文件添加到资源下的Xcode项目中。

02 在 info.plist 中使用键 UIAppFonts 和您要添加到其中的每种字体添加数组。

03 从任何你需要的地方调用 [UIFont fontWithName:@"CustomFontName" size:15]