开发者

UITextView editable and link detection [duplicate]

This question a开发者_运维知识库lready has answers here: Closed 11 years ago.

Possible Duplicate:

iphone UITextView does not support data detectors when the text view is editable

Why is it that when I do:

cell.title.editable = YES;

the link detection is off? Is there a way to have this on with it being editable?


Use the dataDetectorTypes propery of UITextView to enable the auto dection of URL , numbers etc..

MyTextview.dataDetectorTypes = UIDataDetectorTypeLink ;

The possible values which can be assigned to dataDetectorTypes . UIDataDetectorTypePhoneNumber,UIDataDetectorTypeLink more

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜