根据每个iPhone大小更改字体大小 [英] changing the font size according to each iPhone size

查看:88
本文介绍了根据每个iPhone大小更改字体大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以根据不同的iPhone屏幕来更改/自动调整字体大小,因为当我更改字体大小时,应用于其他手机大小的字体大小也太大了.

我当前的手机尺寸为iPhone 6s plus(5.5英寸)

解决方案

请使用size类为不同的屏幕支持不同的字体大小.这是有关使用大小类的很好的教程. adaptive-layout-tutorial

is there any way to changing/auto resizing the font size according to the different iPhone screen as when i change the font size, the font size applied to other phone size as well which is too big.

My Current Phone size is iPhone 6s plus (5.5 inch)

解决方案

Please use size classes to support different font size for different screens. Here is good tutorial about using size classes. adaptive-layout-tutorial

这篇关于根据每个iPhone大小更改字体大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆