Penkey Suresh
Penkey Suresh

Reputation: 5974

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. But when the same is run in iPhone6 Plus font is looking very tiny. 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 ?

Upvotes: 0

Views: 2077

Answers (1)

Oleshko
Oleshko

Reputation: 3093

Here is an example of how you can customize font for different devices (section Adaptive Fonts almost in the end of tutorial)

Short instruction how to do this:

  1. Select label in Interface Builder enter image description here

  2. Press + button near Font and select device size, for which you want to have another font enter image description here

  3. Set new font for that devicesenter image description here

Upvotes: 4

Related Questions