开发者

Making call from iphone application without exiting it from ios sdk4.0

开发者 https://www.devze.com 2023-01-29 16:37 出处:网络
i want to know whether their is any way in ios 4.0 and onwards to make a call from application without exiting the application.

i want to know whether their is any way in ios 4.0 and onwards to make a call from application without exiting the application.

I have worked on this and got开发者_开发百科 to know that their is not any way till iOS 3.1. So I want to know is iOS 4 supports it or not. Need Some other solution than that of

UIApplication application] openURL:[NSURL URLWithString:@"tel://8005551212"]];


You can use

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"telprompt://8005551212"]];

for iOS 4.x it works.

0

精彩评论

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