- Home /
Have problem using Application.OpenURL() opening tel URL scheme on iOS to call a number with symbols
Application.OpenURL("tel://*123*4567#".Replace("#","%23"));
Works fine for Android, but not for iOS devices nothing happened. I did try without '//', without replacing '#' by %23' but it seems lack of success. Did I do something wrong? Or It is just generally does not work with iOS?
Thank you.
Answer by Alanisaac · Feb 25, 2018 at 03:02 PM
Apple's own documentation on phone links states that:
To prevent users from maliciously redirecting phone calls or changing the behavior of a phone or account, the Phone app supports most, but not all, of the special characters in the tel scheme. Specifically, if a URL contains the * or # characters, the Phone app does not attempt to dial the corresponding phone number.
EDIT: Apparently this is no longer the case on iOS 11. So it depends on what you're running.
Your answer
![](https://koobas.hobune.stream/wayback/20220612153407im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Calling Function in other Script via Touch => iOS Crash 1 Answer
Launch an iOS app with options C# 0 Answers
OpenURL opens app in same window 0 Answers
Crash while opening app with URL Scheme in iOS 8 0 Answers
Call a Function When App Exits 4 Answers