UITextViews in a UITableView link detection bug in iOS 7

后端 未结 13 797
醉梦人生
醉梦人生 2020-12-01 07:19

I have custom UITableViewCells that contain a UITextView. I have link detection in the UITextView turned on in Interface Builder. When I first load the table view, everythin

13条回答
  •  心在旅途
    2020-12-01 07:48

    You can fix this issue by using NSAttributedString.

    cell.textview.attributedText = [[NSAttributedString alloc] initWithString:message.message];
    

提交回复
热议问题