9

Faced the problem that on iOS 15.2 all labels incorrectly handle line break mode.
Below are examples of rendering labels:

Line Break Mode: .byClipping

  • Xcode 13.0 iOS 15.0.

enter image description here

  • Xcode 13.2.1 iOS 15.2

enter image description here

As you can see, the last word is truncated and does not remain on the line.

Line Break Mode: .byTruncatingMiddle

  • Xcode 13.0 iOS 15.0.

enter image description here

  • Xcode 13.2.1 iOS 15.2

enter image description here

Same issue on AppStore UILabels. It seems that the bug is in the iOS SDK version. Has anyone encountered a similar problem? Perhaps there are workarounds?

Fahim Parkar
  • 30,974
  • 45
  • 160
  • 276
Vlad Krupenko
  • 361
  • 2
  • 9

0 Answers0