문제

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.

도움이 되었습니까?

해결책

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.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top