5 ms·
> When a user opens a URL with the tel scheme in a native app, iOS does not display an alert and initiates dialing without further prompting the user. What is
by username 12y ago
> When a user opens a URL with the tel scheme in a native app, iOS does not display an alert and initiates dialing without further prompting the user.
What is the justification for this behavior? Why should the web browser open a prompt but not other apps?
- algorithm_dk 12y agoBecause the apps can initiate a call by just pointing a webview at tel:0000. Another reason is hybrid apps, imagine a contact hybrid app running in something like PhoneGap. You want to click a button and call right away without the phone asking you to confirm your action. I'm not saying that Apple's design is good, but it is documented.
- aye 12y agoThat was my thought as well. I'm sure the decision was made to connect as seamlessly as possible, without the user having to stop and click a dial confirmation.
- bennyg 12y agoOther apps can too. You have to use telprompt instead of tel in the URL scheme.
- danielweber 12y agoI imagine the other apps are responsible for their behavior. The browser gets special locking down because practically anyone can end up sending you anything.