can't find the name of custom font added to xcode 7

我是研究僧i 提交于 2019-12-02 02:06:52

Did you try something like:

[yourlabel setFont:[UIFont fontWithName:@"PT Sans" size:20]];
  1. Search For "Font Book" app in your SpotLight Search
  2. Select All Fonts, and look for your phone (I believe you have already installed it in your system, if not do so by double clicking on font and then follow the steps).
  3. If you have font installed, click on your font.
  4. Click on (i) info icon.
  5. Look for "PostScript name" – its your font name.

  1. You can always access to your custom font by providing this name.

Btw, see the difference in example, the font name has a space, in actual there isn't.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!