UITextViews in a UITableView link detection bug in iOS 7

后端 未结 13 761
醉梦人生
醉梦人生 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:50

    textView.text = nil;
    textView.attributedText = nil;
    
    textView.attributedText = [[NSAttributedString alloc] initWithString:@"your new string"];
    

提交回复
热议问题