Disable telephone detectors in Safari/Hybrid app (x-apple-data=detectors)

June 30, 2015

Problem: 

You see an unexpected hyperlink against numbers in your text. 

Solution:

Include the following in your landing html page at the top.

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

Reference:

http://stackoverflow.com/questions/2106102/disabling-data-detectors-for-a-specific-html-element-in-a-uiwebview
http://stackoverflow.com/questions/10655815/disable-telephone-anchor

You Might Also Like

0 comments

Popular Posts

Twitter