TTTAttributedLabel : issue detecting links.
Asked Answered
L

1

2

I've been having some issues while using TTTAttributedLabel. Sometimes a given URL doesn't get coloured as a link nor does it react to touch. However, this is solved by scrolling down and up, so by making the Cell view re-draw. I've looking at the issues in the project's github, but the ones that seemed related were already closed.

Library answered 6/3, 2014 at 1:46 Comment(0)
L
4

Well, the fix was to move the .enabledTextCheckingTypes = NSTextCheckingTypeLink; to the awakeFromNib method the custom UITableViewCell.

Library answered 14/3, 2014 at 2:38 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.