JSFiddle - React, Tailwind, and code Playground
by amirdew
HTML
<body>
<ul id="phone" style="opacity:0">
<li>111-111-1111</li>
</ul>
</body>
JavaScript
var html = document.getElementById("phone").innerHTML;
if (navigator.platform.substr(0,2) === 'iP'){
if(html.indexOf('tel:') == -1)
alert('webview');
else
alert('browser');
}
else
alert('not iOS');