Skip to content
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

iOS 18 下划线不显示 #1010

Open
Wuou opened this issue Oct 24, 2024 · 5 comments
Open

iOS 18 下划线不显示 #1010

Wuou opened this issue Oct 24, 2024 · 5 comments

Comments

@Wuou
Copy link

Wuou commented Oct 24, 2024

如何修复iOS 18 下划线不显示问题,有谁知道?

@xygkevin
Copy link

同问

@xygkevin
Copy link

image 发现打开这行注释就会显示下划线了

@xygkevin
Copy link

或者使用
[text yy_setTextUnderline:[YYTextDecoration decorationWithStyle:YYTextLineStyleSingle] range:rang];
的方式也可以显示下划线

@Wuou
Copy link
Author

Wuou commented Oct 24, 2024

或者使用 [text yy_setTextUnderline:[YYTextDecoration decorationWithStyle:YYTextLineStyleSingle] range:rang]; 的方式也可以显示下划线

👍🏻,可以了

@caohz03
Copy link

caohz03 commented Nov 5, 2024

有人遇到过iOS18上用YYTextDecoration实现下划线时,遇到中文和数组组合时,数字部分下划线位置不对的问题吗?0.7位置的下划线和左边”链接“位置是断开的,和右边”链接“位置是重叠的。如果去掉数字效果
024cd55e-0244-4bd4-a0db-b0b7dd47d00e_capture
是正常的
352d9851-fbca-4075-a105-c55c5084bacc_capture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants