Tel numbers not handled on IOS Emulator
Asked Answered
M

2

9

I'm working on a phonegap based app for IOS which is already done for Android. I have the following link on a html page:

<a href="tel:0180123456789">0180123456789</a>

The Android devices are interpreting it correctly. If I click on this link on the iPhone Emulator in XCode, the console gives me the following feedback:

Failed to load webpage with error: The URL can't be shown

Is this just because of the Emulator? I'm not yet able to test this on a real device, that's why it is impossible to check it for me right now.

Milburn answered 13/11, 2012 at 15:56 Comment(0)
T
11

This seems to be an issue with the simulator. I get the same error as you do when I run this in the simulator, but on the device it works perfectly.

Thermocouple answered 13/11, 2012 at 16:19 Comment(1)
cheers for the approval! saves me a lot of time not to worry about this anymore.Milburn
E
2

According to the Apple URL Scheme Reference:

If the Phone application is not installed on the device, opening a tel URL displays an appropriate warning message to the user.

Install it in a device and your click to call link will work, if there is no other issues.

Endocrinology answered 14/11, 2012 at 4:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.