如何处理iPhone 6S Plus的字体大小? [英] How do I handle iPhone 6S Plus's font size?
问题描述
与其他屏幕尺寸相比,iPhone 6S Plus的屏幕非常大。在没有以编程方式调整大小的情况下,我似乎无法找到处理标签字体大小的好方法。
iPhone 6S Plus's screen is very big compared to other screen sizes. I can't seem to find a good way to handle the font size of a label without adjusting the size programmatically.
如何调整标签的字体大小,使其在iPhone 5上看起来更小,在iPhone 6 Plus上看起来更大?
How can I adjust the font size of a label so that it looks smaller on an iPhone 5 and bigger on an iPhone 6 Plus?
推荐答案
请勿更改iPhone 6或iPhone 6+的字体大小。
Don't change font sizes for the iPhone 6 or iPhone 6+.
人们购买这些手机以查看更多内容。 6+显示比其他手机略大的东西(是的,它有更大的像素,而不仅仅是更多像素),如果用户想要更大的显示器,他们可以将整个手机切换到缩放模式(6+和6) ;这将6+变成大6,而6变成大5)。
People buy these phones to see more content. The 6+ displays things slightly bigger than the other phones anyway (yes, it has bigger pixels, not just more pixels), and if a user wants an even bigger display they can switch the whole phone to zoom mode (both 6+ and 6; this turns a 6+ into a large 6, and a 6 into a large 5).
只需使用autolayout来定位相对于屏幕尺寸的东西。
Just use autolayout to position things relative to the screen size.
这篇关于如何处理iPhone 6S Plus的字体大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!