iOS TTTAttributedLabel Delegate didSelectLinkWithURL not getting called

前端 未结 4 1460
灰色年华
灰色年华 2021-02-07 17:45

I\'m having problems setting up the TTTAttributedLabel within my project.

I have set the protocol delegate in my header file

@interface TwitterFeedContr         


        
4条回答
  •  南方客
    南方客 (楼主)
    2021-02-07 18:27

    The UILabel userInteractionEnabled seems to be disabled by default, so unless you explicitly enable it, it won't work. That was my problem.

提交回复
热议问题