Swift's openURL method does not place a phone call with an Asterix sign (iOS 8.4) -
i'm trying place phonecall in swift application. works pretty simple regular phone numbers using openurl method. however, when try use string contains asterix (for example, dial number (****02), method returns false. i've tried using string literals no help.
is possible @ all? thanks!
var url:nsurl = nsurl(string: "tel://****02")! uiapplication.sharedapplication().openurl(url)
... prevent users maliciously redirecting phone calls or changing behavior of phone or account, phone app supports most, not all, of special characters in tel scheme. specifically, if url contains * or # characters, phone app not attempt dial corresponding phone number. ...
Comments
Post a Comment