Call to a number, which contain #. (IPhone SDK)
ios, iphone
Solution
iOS SDK (Apple URL scheme reference) tells: To prevent users from maliciously redirecting phone calls or changing the behavior of a phone or account, the Phone application supports most, but not all, of the special characters in the tel scheme. Specifically, if a URL contains the * or # characters, the Phone application does not attempt to dial the corresponding phone number.
So, no luck.
Problem
I need to make call to a number, that start with #. For example phone number in Russia looks like +79123817711 and I need to call #79123817711. I'm trying this: ``` NSURL *url = [NSURL URLWithString:@"tel://#79123817711"]; [[UIApplication sharedLibrary] openURL:url]; ``` But it's replaced # with %23, and sure, not make a call. Is there any way to make such calls. I know, that is not a call, it's USSD request. But function of this ussd looks like a call.