从网上下载字体.ttf文件并存储在iPhone上(Download font .ttf file from web and store on iPhone)

[db:摘要]

从网上下载字体.ttf文件并存储在iPhone上(Download font .ttf file from web and store on iPhone)

是否可以从网上下载.ttf文件并将其存储在iPhone上。 然后用它来标签和所有其他东西? 因为我的客户端想要控制数据库中的字体,并且不想立即将字体拖放到xcode项目中。

因此,将来如果他想要更改字体,他会将新字体添加到数据库,应用程序将识别Web上的新字体(已经完成了图像,而不是问题),下载并用作字体。

谢谢。

Is it possible to download .ttf file from web and store it on iPhone. Then use that for for labels and all other stuff ? Because my client want to control fonts from database and don't want to just drop fonts to xcode project right away.

So in future if he wants to change font, he will add new font to database, app will recognize new font on web (thats already done with images, not a problem), download it and use as font.

Thanks.

最满意答案

必须在应用程序的plist中设置字体,并且在运行时不能更改该文件,因此您需要使用已添加到其中的字体编译项目。

你必须以其他方式思考实现它。

The fonts have to be set in the plist of your app, and that file cannot be changed during runtime, so you need to compile your project with the fonts already added to it.

You'll have to think in other way of implementing it.

发布者:admin,转转请注明出处:http://www.yc00.com/web/1690929936a466389.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信