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

TextDecoration,中划线并不生效 #12

Open
SnowWolf817 opened this issue Jun 16, 2020 · 1 comment
Open

TextDecoration,中划线并不生效 #12

SnowWolf817 opened this issue Jun 16, 2020 · 1 comment

Comments

@SnowWolf817
Copy link

one.bs_set(textStrikethrough: TextDecoration.decoration(with: .single, width: 0.5, color: .red), range: NSRange.init(location: 0, length: one.length))

@a1049145827
Copy link
Owner

你的这段代码我在 demo 里试了一下,是有效果的

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

2 participants