开发者

iPhone SDK fonts

I have found a list of iOS 4.2 available fonts (link here) but the list slightly differs from earlier versions of the SDK (link here).

I can change the font in my code just fine, but what happens if I use a font available in the iOS 4.2 list which is not available on earlier SDK versions? For instance, HelveticaNeue-Italic appears in the iOS 4.2 SDK, but not ealier versions. So what h开发者_JS百科appens when I use HelveticaNeue-Italic in my app and it is run on older iOS devices?

Many thanks, Brett

PS...I've upgraded all my devices so I can't simply just try it ;-) So I thought I would see if anybody here has done this. Cheers!


Well actually, since iOS4 you are able to add in custom fonts into your applications! Found this while searching around the internet, hopefully this helps.

http://www.daveallanson.com/index.php?option=com_content&view=article&id=56:adding-custom-fonts-ios-4&catid=38:blog&Itemid=56


In some cases it won't show up at all. For other cases, it will revert to the system font. It depends on how you are displaying text within your application.


If you want to use fonts that are only available on 4.2, you should require 4.2, simple as that. What does it matter if it falls back to some standard font or doesn't show up at all if you can't even test this?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜