iPhone 4 真的没有斜体吗?

发布于 2024-09-26 19:29:25 字数 210 浏览 0 评论 0原文

在我的项目中,iPhone 4 不显示命令斜体

textLabel.font=[UIFont italicSystemFontOfSize:16];

,但 iPhone 3 正确显示斜体。

iPhone 4 真的不支持斜体吗?如果不使用systemFont,可以得到斜体吗?

谢谢,

加里

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

水染的天色ゝ 2024-10-03 19:29:25

iPhone 4 使用 Helvetica Neue,而所有之前版本的 iPhone 和 iPod Touch 使用 Helvetica。这与哪一种在视网膜和正常显示器上渲染效果最好有关。由于某种原因,苹果没有包含 Helvetica Neue 字体的斜体文件,我很确定这是一个与设计相关的决定,所以不要指望这一点会改变。如果您在应用程序中绝对需要斜体,我建议您使用其他字体。

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.

农村范ル 2024-10-03 19:29:25

遗憾的是,它似乎不适用于 iPhone 4。在 daring fireball 上发表了博客 ,他在此处拾取了它。

如果我是你,最好的办法就是等待。 Apple 可能会在未来的 iOS 更新中修复此问题。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文