是否可以从网上下载.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条)