开发 iOS APP, 很喜欢圆体字,在mac里有,但是在开发里找不到,怎么办?谢谢!
ä½ å¯ä»¥å¨ç½ä¸æç´¢å°ä½ è¦çåä½æ件(ä¸è¬æ¯ttfåç¼åç)ï¼ç¶åæåä½æ件å å
¥å°Xcodeå·¥ç¨éã
ç¶åå¨åºç¨ééè¦ç¨å°çå°æ¹æç
§ä»¥ä¸ä»£ç æå®åä½å°±å¯ä»¥äºã
ä¾: UIFont *font = [UIFont fontWithName:@"Heiti" size:20.0f];
注: æäºåä½æ¯æçæçï¼æ
ç¨
追é®é常æè°¢ï¼ååç
§åäºï¼ä½æ¯è¿æ¯æ¾ç¤ºçæ¯åæ¥çåä½ï½è¿ä¸ªæ¯ä»ä¹åå åï¼åç¹å«è¦æ³¨æçå°æ¹ä¹ï¼
追çå¨Xcodeå·¥ç¨ç "Build Phases"éç"Copy Bundle Resources"ä¸ï¼ç¡®ä¿å·²ç»å å
¥äºä½ çåä½æ件ã
æ¤å¤å¨é¡¹ç®çinfo.plistæ件éï¼éè¦å å
¥ä¸è¡"Fonts provided by application"ï¼å
容就æ¯ä½ çåä½æ件å
温馨提示:内容为网友见解,仅供参考
Warning: Invalid argument supplied for foreach() in /www/wwwroot/aolonic.com/skin/templets/default/contents.html on line 45
相似回答