-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DTCoreText can't draw underline in iOS18. #1280
Comments
Hello, I have the same issue as you, did you solve it |
+1 |
1 similar comment
+1 |
@daiyangyang945 @nicolasmuller I found this problem only exist in some beta version of iOS , you guys can check it in the public version of iOS 18.x |
Okay, thank you for your reply |
@ximmyxiao @daiyangyang945 @nicolasmuller |
@benjaminbarbe , in my iPhone16 pro with iOS18.1 , the underline can be drawn well , But in my iPhone15 pro max with iPhone 18.2 beta and in any simulator with iOS 18 , the underline can't be drawn |
I have wrote a demo like this
and set this content to DTAttributedTextContentView,
the underline will not show in iOS18 beta3 and the newest beta version of Xcode , but it works well in iOS17 and before. seems the CoreText is changed something in underline drawing in iOS18.
more exactly reason can be seem:
here
The text was updated successfully, but these errors were encountered: