开发者

is it true no italics for iPhone 4?

In my project,开发者_高级运维 the iPhone 4 does not show italics for command

textLabel.font=[UIFont italicSystemFontOfSize:16];

but the iPhone 3 shows italics properly.

Is it true that iPhone 4 does not support italics? If not using systemFont, can you get italics?

thanks,

Gary


The iPhone 4 uses Helvetica Neue, whereas all prior versions of the iPhone and iPod Touch uses Helvetica. This has something to do with which one renders best on the retina and normal displays. For some reason Apple didn't include the italic files of the Helvetica Neue font, and I'm pretty sure this is a design related decision, so don't expect that to change. If you absolutely need italic in you application, I suggest you use another font.


Sadly yes, it does not seem to work for the iPhone 4. It was blogged about at daring fireball, who picked it up here.

If I were you, the best thing to do would be to wait it out. Apple will probably fix this issue during a future iOS update.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜