iOS TTTAttributedLabel Delegate didSelectLinkWithURL not getting called
delegates, hyperlink, ios, label
Solution
Solved! The problem was the "User Interaction Enabled" Checkbox in the CollectionViewCell... It was disabled! it took me 4 hours to figured it out!! Thank you anyway!
Problem
I'm having problems setting up the TTTAttributedLabel within my project. I have set the protocol delegate in my header file ``` @interface TwitterFeedControlleriPad : UIViewController <TTTAttributedLabelDelegate, UICollectionViewDataSource, UICollectionViewDelegate, UICollectionViewDelegateWaterfallLayout> ``` I have set the ViewController to it (is not nil, I checked already). ``` cell.tweetLabel.delegate = self; ``` It's showing all the links right in the label but when I tap them it's not calling the function. ``` - (void)attributedLabel:(TTTAttributedLabel *)label didSelectLinkWithURL:(NSURL *)url ``` I've already used it before with success and it's exactly the same code!! It's driving me crazy!