How to open ios Native dialer app from my app

I want to open the native dialer application and allow the user to enter a phone number there. The reason I want this is because in my application the user needs to use USSD codes to make calls, but when using the code below nothing happens (nothing starts)

NSString *phoneNumber = [@"tel://" stringByAppendingString:number]; 
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:phoneNumber]];

I read here (StackOverflow) that barring calls from your application containing * and #. So I want to ask if there is any work around this restriction.

+4
source share
2 answers

No, there is no workaround with these characters.

+2
source

, , , , .

Apple:

, "" , , . , URL * #, "" . URL- , , URL-, .

post

0

All Articles