Possible Duplicate:
iphone UITextView does not support data detectors when the text view is editable
为什么当我这样做时:
cell.title.editable = YES;
链接检测已关闭?有没有办法让它可以编辑?
最佳答案
使用UITextView的dataDetectorTypes属性启用 URL、数字等的自动检测。
MyTextview.dataDetectorTypes = UIDataDetectorTypeLink ;
可以分配给 dataDetectorTypes 的可能值。
UIDataDetectorTypePhoneNumber
,UIDataDetectorTypeLink
more
关于iphone - UITextView可编辑和链接检测,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6160273/