我想使用UITextview来显示attributeString,并且我需要UITextView来响应链接操作,但是我发现UITextView无法滚动,甚至无法集中注意力,我该怎么办?
textView.attributedText = mutableAttr
textView.contentSize = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.height * 3)
// textView.sizeToFit()
textView.delegate = self
textView.isSelectable = true
textView.isUserInteractionEnabled = true
view.addSubview(textView)