Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在为一家电信公司申请。我需要的是,如果我的应用程序安装在 iPhone 上,那么当用户拨打号码呼叫某人时,iOS 将在默认拨号器中显示我的应用程序选项,就像安装了 Skype 一样。
在应用程序委托中打开一个电话:网址:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[[NSString stringWithFormat:@"tel://%@", numberToCall] stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding]]];