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
CKTextComponent linkTextAttributes? #105
Comments
Yep! All you need to do is change the NSForegroundColorAttributeName value to your color on your attributed string. |
I tried that before opening this ticket. Maybe you can tell me what I am doing wrong. He is an example. https://gist.github.com/vishnevskiy/de9f64d4f9a452956243#file-test-m-L38 It renders fine but still blue with underline. https://www.dropbox.com/s/01t9q9b7kmw2hg0/Screenshot%202015-04-13%2013.43.19.png?dl=0 |
As pointed out by others, I need to document this api! The styling issue is actually in TextKit itself. This and other reasons are why we use an entity attribute instead to signify links (on my phone so can't get a link right now but you can find it by searching). Use an entity along with component actions to add taps me entities like links. |
I think the best way to describe it is that the "link" attribute and the styling of a link are completely separate. What's tappable is controlled by |
Is it possible to change the color of the links?
Thank you.
The text was updated successfully, but these errors were encountered: