简体   繁体   中英

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:

[[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)?

It doesn't appear so, according to the official docs at 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. Is that the sort of thing you're trying to accomplish?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM