Tell the iPhone that this number is not a phone number

This is probably a pretty simple question, and I think it's funnier than anything else, but I have a webView displaying local HTML that has the book’s ISBN number and the iPhone binds it as a phone number and asks Do I want to call it.
How would I say not to use it as a phone number?

(A number is plain text inside a p-tag, it is not related to Amazon or so ..)

+3
source share
2 answers

try it

webview.dataDetectorTypes=0;

or in your html set

<meta name="format-detection" content="telephone=no">
+7
source

dataDetectorTypes UIWebView , . , HTML- , -.

+1

All Articles