I do not want my textView can be selected, but can detect link. Can UITextView selectable=NO and dataDetectorTypes=UIDataDetectorTypeAll same time?

287 views Asked by At

I do not want my textView can be selected, but can detect link and link can be touched.

textView.selectable=NO
textView.dataDetectorTypes=UIDataDetectorTypeAll

But when selectable=NO, it can not detect link.

0

There are 0 answers