2

I have a UITextView with dataDetectorTypes set to UIDataDetectorTypeAll (which should include UIDataDetectorTypeAddress), but no matter how I write an address in the text view it's never detected as a link.

Should the address be written in some kind of special format for it to work? Phone numbers, urls, emails and calendar events work perfectly.

Joel
  • 8,502
  • 11
  • 66
  • 115
  • Logging the adress of one of your contacts would help. Also , not sure if it's applying , but check if your textView is editable or not. Can't have editable and data detection at the same time. – George Jul 19 '12 at 09:59
  • http://stackoverflow.com/questions/995219/how-to-make-uitextview-detect-links-for-website-mail-and-phone-number check this will help you – Leena Jul 19 '12 at 10:05

0 Answers0