[英]How to adjust font size for various iPhone screen sizes in iOS?
I have an app designed for 5s with a font size of 13px. 我有一个为5s设计的应用程序,字体大小为13px。 But when the same is run in iPhone6 Plus font is looking very tiny. 但是当在iPhone6 Plus中运行相同字体时,字体看起来很小。 Although position and size of the elements is adjusting accordingly to the size thanks to percentage based element position and layout. 尽管由于基于百分比的元素位置和布局,元素的位置和大小正在根据大小进行相应调整。
Any idea on how to change the font according to screen size ? 关于如何根据屏幕大小更改字体的想法吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.