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.
- Xcode 13.2.1 iOS 15.2
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.
- Xcode 13.2.1 iOS 15.2
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?