0

The text inside my UILabel in Interface Builder is being truncated when the text is a large font size. The UILabel does scroll vertically when the characters exceed the viewport size, but at one point the text is simply truncated. Can anyone advise?

The element hierarchy is: Scroll View > View > UILabel

UILabel AutoLayout properties are set to:

  • Lines: 0
  • Line Break: Word Wrap
  • Autoshrink: Fixed Font Size

I would prefer to keep everything in AutoLayout rather than set the properties programmatically.

user2181948
  • 1,646
  • 3
  • 33
  • 60

2 Answers2

0

You are set the property of Label. So that according to device its set font size is auto.

Autoshrink : Minimum Font scale

Scale : 0.7

enter image description here

Kirit Modi
  • 23,155
  • 15
  • 89
  • 112
0

You can use both **Minimum font Size** &&Minimum font Scale`

enter image description here

Vidhi Patel
  • 603
  • 5
  • 10