I put some data in a UIWebView and as part of my data, I have 7 numbers together. The UIWebView makes the text be a hyperlink with the option to add to contact or copy the link. Is there a way to disable that so the 7 numbers don’t appear as a phone number?
Share
A quick Google turns up the UIWebView docs, which say that you can alter the
dataDetectorTypesproperty to disable this behavior. The possible values are listed in the UIKit Data Types Reference – you may wantUIDataDetectorTypeNone.