gpt4 book ai didi

iphone - 如何向 Xcode 3.2 添加新字体?

转载 作者:行者123 更新时间:2023-12-03 19:06:17 28 4
gpt4 key购买 nike

请告诉我如何向 iphone xcode3.2 添加新字体。

最佳答案

此功能未内置到 iOS < 3.2 中的 UILabel/UIFont 中。但是您可以使用第三方解决方案:FontLabel

在 iOS 3.2+ 中,有 UIAppFonts plist key !

只需在使用它之前执行此操作:将字体文件(例如 myfont.ttf)添加到您的项目中,然后像这样编辑 Info.plist:

info.plist

关于iphone - 如何向 Xcode 3.2 添加新字体?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3350131/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com