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 下划线不生效了 #38

Open
kvin-van opened this issue Nov 14, 2024 · 0 comments
Open

ios 18 下划线不生效了 #38

kvin-van opened this issue Nov 14, 2024 · 0 comments

Comments

@kvin-van
Copy link

guard let ran = protocolString.range(of: protocolStr1) else { return }
let range1 = NSRange(ran, in: protocolString)
mattribute.bs_set(underlineStyle: .single, range: range1)
mattribute.bs_set(textHighlightRange: range1, color: UIColor(named: "49671E"), backgroundColor: nil) {[weak self] _, _, , in
guard let weakself = self else { return }
weakself.goWebPage(protocolStr1)
}

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

1 participant