[英]Call out Phone App in iPhone & fill in a phone number ( no dial )
I know I can call out Phone App in iPhone & dial a phone number by: 我知道我可以在iPhone中调出Phone App并通过以下方式拨打电话号码:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:12345678"]];
However, is there any way to call out Phone App & fill in a phone number only (no need to dial the number)? 但是,有什么方法可以调出Phone App并仅填写电话号码(无需拨打电话号码)?
It doesn't appear so, according to the official docs at http://developer.apple.com/library/ios/ipad/#featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html 根据http://developer.apple.com/library/ios/ipad/#featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html上的官方文档,它似乎并非如此。
Sorry. 抱歉。
If you're trying to predial (eg for a calling card) then you could get input from the user, prepend your number, then call the tel URL in one feel swoop. 如果您要进行预拨号(例如,使用电话卡),则可以从用户处获得输入,在电话号码前添加电话号码,然后快速拨打电话URL。 Is that the sort of thing you're trying to accomplish?
这是您要完成的事情吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.