iPhone 7 - numeric string > 9 char - user can press and a number is dialed
How can I disable the iPhone 7 feature where a numeric string > 9 characters results in an automatic hyperlink which when pressed begins to auto dial the numbers? I looked but didn't see config setting on the phone to control this feature. Has anyone else ran into this? Our app can handle an employee badge up to 20 digits so this is problematic. Thanks in advance.
I am working in a software qa company, where we provide mobile testing and test automation services.
So, while working on iPhone 7, we faced the same issue, hence we narrowed it down and found that it is a Safari feature and cannot be disabled. However, at development end, there is an option to tell Safari via the page code, that format detection should not be enabled and he/she has to add the following line of code:
<meta name="format-detection" content="telephone=no" />
Also, please find below link for further reference:
Supported Meta Tags
Please feel free to ask further question (if any) on the same.
Tags for this Thread