I'm building an app with a UIWebView in it.
The webView should load html that includes tel: links:
<a href="tel:123456789">call me</a>
The webView doesn't make the "call me" link to be clickable.
I tried
webView.dataDetectorTypes = UIDataDetectorTypePhoneNumber
But doesn't work.
I looked in all the stackOverflow Q&A's and found no answer specific to this problem.
Thanks for your help, Nur
Below code worked for me
Add the web view
and the delegate method
and my html file
replace
with
Hope it works for you.