1

Is there a way to disable the native "Call" prompt? Ex: this prompt occurs sometimes when you tap on a number (typically a phone number, on the web for example).

I have a calendar widget which is inadvertently triggering the call prompt so a quick fix would be to disable that type of prompt from occurring from within my app entirely.

Derrick
  • 349
  • 4
  • 11
  • 1
    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) – Black Frog Apr 19 '15 at 17:28
  • Can you add an image of the calendar widget and what is happening? – Black Frog Apr 19 '15 at 17:29
  • @BlackFrog no worries, there is an accepted answer. Weird bug though - using https://github.com/mozbrick/brick-calendar the call prompt would only get triggered after tapping a date, but only if another native overlay (ie- list picker) was triggered before that. – Derrick Apr 20 '15 at 15:35

1 Answers1

1

For hybrid apps you can use a meta tag to prevent iOS from adding a hyperlink around numbers.

<meta name="format-detection" content="telephone=no">
Tarabass
  • 3,132
  • 2
  • 17
  • 35