Scale text label by screen size

前端 未结 7 1318
长情又很酷
长情又很酷 2020-12-08 10:13

Is there a way to scale text so that it takes up close to the same screen real estate no matter what the device size is? I\'ve found that the text on an iPad sized device is

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-08 10:46

    1. Select your label and open attribute inspector for it

    2. Click on + sign by Font, select width and height as "Regular", click Add Variation

    3. Another Font field will appear, this will represent font for ipad/big screen/ illusion of big screen (scroll view)

    4. Select your desired font for ipad

提交回复
热议问题