tester777 tester777 - 2 months ago 18
iOS Question

How to open the ios Native dialer app from my App

I want to open the native dialer app and allow the user to enter the phone number there. The reason why i want this is because in my app the user needs to use USSD codes in order to make calls, but using the code bellow nothing happens (nothing is started)

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

I read here (StackOverflow) that making calls from your app that contain * and # are forbidden.
So i want to ask is there any work around this limitation.

Answer Source

No, there is no workaround with those symbols.