lexrus / LTMorphingLabel

[EXPERIMENTAL] Graceful morphing effects for UILabel written in Swift.
MIT License
8.07k stars 782 forks source link

Times New Roman Font on iOS-13 (Xcode-11) #134

Closed s-ahmad88 closed 4 years ago

s-ahmad88 commented 4 years ago

I am facing a weird issue after updating to XCode-11. Only on the devices with iOS-13 the the font appears to be as TIMES NEW ROMAN. whereas on devices having older versions the font seems to be perfectly fine.

Any help anyone please?

Screen Shot 2019-10-31 at 9 24 36 am

alihanaktay commented 4 years ago

I've faced same issue. You can set textAttiributes to label like below. It's working.

label.textAttributes = [NSAttributedString.Key.font: UIFont.systemFont(ofSize: 17, weight: .semibold)]

Lakr233 commented 4 years ago

I've faced same issue. You can set textAttiributes to label like below. It's working.

label.textAttributes = [NSAttributedString.Key.font: UIFont.systemFont(ofSize: 17, weight: .semibold)]

yep it works, but how can I resolve this new problem?

-> The text is like being cut by some hard stuff

Screen Shot 2020-02-21 at 上午7 48 30