There is container view and a UITapGestureRecognizer
on it. And it also has a subview which kind of TTTAttributedLabel
.
When I remove the gesture recognizer from the container view, the delegate method of TTTAttributedLabelDelegate
- (void)attributedLabel:(TTTAttributedLabel *)label didSelectLinkWithURL:(NSURL *)url can be called.
When I add the gesture recognizer on container view. Only its action method gets called. The delegate method of TTTAttributedLabelDelegate
won't be called.
Now I need the delegate method to be called when I tap on a link in TTTAttributedLabel
, and action method to called when I tap on other area of container view.
Thanks.