开发者

How can use GSM codes for divert calls using objective-c on my iPhone app?

I have already tried to do it using the following code:

NSURL *phoneURL = [[NSURL alloc] initWithString:@"tel:**21*<destination_number>#"];
[[UIApplication sharedApplication] openURL:phoneURL];

but it doesn't work and sometimes the a开发者_C百科pp crashs.

It works for me using a normal number (like 19765432221)...

Anybody?

Thanks!


I'm not sure what *21# means, but if it doesn't work the way you're doing it, it's most certainly because Apple doesn't allow it. There's no other (public) API method for doing this kind of thing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜