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

Can I change background color of text in some range? #137

Open
ghost opened this issue Apr 3, 2013 · 1 comment
Open

Can I change background color of text in some range? #137

ghost opened this issue Apr 3, 2013 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Apr 3, 2013

I'd like to add(or change) background color for text in a certain range. Is it possible with the current version of OHAttributedLabel?
iOS 6's NSAttributedString supports NSBackgroundColorAttributeName attribute, but my app should support at least iOS 5.0 so it's not an option.

@AliSoftware
Copy link
Owner

ref #148 ?

Don't hesitate to propose a PR for that, at least to propose a commodity method for setting NSBackgroundColorAttributeName

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

No branches or pull requests

1 participant