0

HI friends,

Is there a way to make iPhone not format texts like "2007-2010" as phone numbers

Shivi
  • 1,075
  • 9
  • 24
  • 42
  • possible duplicate of [How to disable phone number linking in Mobile Safari?](http://stackoverflow.com/questions/226131/how-to-disable-phone-number-linking-in-mobile-safari) – Jeff B Jan 28 '11 at 06:35
  • Can you tell us what you want the result to be? You can always remove the characters you don't like manually: `[NSString stringByReplacingOccurrencesOfString:@"-" withString:@""]` – Aurum Aquila Jan 28 '11 at 06:39
  • @Jeff B and @Aurum : Thanks for your response. I have got the solution. `` – Shivi Jan 30 '11 at 01:14

1 Answers1

0

the UIWebView has a property called:dataDetectorTypes you can set it to whatever data you want to detect, therefore make it linkable( or not in your case)

Guy Ephraim
  • 3,482
  • 3
  • 26
  • 30