Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Reimplemented Color-Changing on Hyperlinks #355

odrobnik opened this Issue Mar 21, 2013 · 0 comments


None yet
1 participant

odrobnik commented Mar 21, 2013

This has already been implemented. Note that this is a breaking-change. Previously you would set two attributed string snippets on DTLinkButton. This API was changed. Instead you get an image of the glyphRun in normal and highlighted state and you set these images on the UIButton.

Implemented in 7224445

You can set the hyperlink active color via a:active or via passing DTDefaultLinkHighlightColor with a color name or DTColor in the parsing options. Note that you still need to provide a custom subview for the link, see DemoTextViewController for an example implementation.

@ghost ghost assigned odrobnik Mar 21, 2013

@odrobnik odrobnik closed this Mar 23, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment