Font size in running app not same as in storyboard (Xcode 14.1)

266 Views Asked by At

The font size displayed when running the app is smaller than what I have set in the storyboard. After doing some digging it is my understanding there was a button called "Adjusts Font For Content Size Category" in previous Xcode versions, that would help me get the result I want. But I cannot find "Adjusts Font For Content Size Category" in Xcode 14.1.

Any solutions to this?

enter image description here

1

There are 1 best solutions below

3
On

In xCode 14 "Adjusts font size for category" has been replaced by the "Adjusts Font" property. You can find it in the attribute inspector for a UILabel or in your case your Button.

You just have to click the T icon to the right of the font label. When the dialog opens, just use the "Size" slider or enter a value.

Do not forget after to enable the "Adjusts Font" checkbox.