I have a tricky problem here.
A UITextView
is a subview of `UITableViewCell.
The UITextView
receives touch event and tableView: didSelectRowAtIndexPath:
isn't invoked.
I know I can get the tableView's event if I set userInteraction:NO
to UITextView. However, the UITextView
's content is NSAttributedString
and the string has NSLinkAttributeName
attribute. If I set userInteraction
to false, I can't get the textView:shouldInteractWithURL:inRange:
.
Is there any good way to be enabled both events together?