999-120-9191

How to Delete Phone Number on Iphone?

I have a Simple Span mobile site that has a phone number.

<span class="order1-button">999-120-9191</span>

      

Problem: when I open my page in iphone, it has a link to a phone number. When I click on this option it is called.

How to remove it

This is a Fiddle link . When you open it on iphone, you can find it too.

On another device button just without the link that I need.

+2


source to share


4 answers


You can add a meta tag to your page title to prevent mobile safari from translating phone numbers into links



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

      

+6


source


I believe you can use this dataDetectorTypes

to tell the website which links to ignore.

webview.dataDetectorType = UIDataDetectorTypeNone;

      



See the docs for all types.

0


source


You can put embellishment text: not in this class.

0


source


Delete text.

<span text-decorations="none" class="order1-button">999-120-9191</span>

      

0


source







All Articles