3

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?

Community
  • 1
  • 1
adit
  • 32,574
  • 72
  • 229
  • 373
  • It seems that other people tried that without good results. See this [S.O. question](http://stackoverflow.com/questions/2097340/iphone-uitextview-does-not-support-data-detectors-when-the-text-view-is-editable). Sorry for the negative answer. – sergio May 28 '11 at 07:27

1 Answers1

-1

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

Jhaliya - Praveen Sharma
  • 31,697
  • 9
  • 72
  • 76