c_cpp Adicionar fontes customizadas

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了c_cpp Adicionar fontes customizadas相关的知识,希望对你有一定的参考价值。

/*
Up till now there hasn’t been an easy way to add custom fonts to your iPhone applications.  
As of iOS 4 it has become very easy to do.  Here is what you need to do in order to add custom fonts:

Add your custom font files into your project using XCode as a resource
Add a key to your info.plist file called UIAppFonts.
Make this key an array
For each font you have, enter the full name of your font file (including the extension) as items to the UIAppFonts array
Save info.plist
*/
//Now in your application you can simply call:
[UIFont fontWithName:@"CustomFontName" size:12]
//to get the custom font to use with your UILabels and UITextViews, etc…

以上是关于c_cpp Adicionar fontes customizadas的主要内容,如果未能解决你的问题,请参考以下文章

php adicionar小部件por hooks

php adicionar javascript

php Adicionar campo结账

sh Adicionar /removerrepositóriosapt

sh Adicionar /removerrepositóriosapt

python Adicionar elemento