且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

iPhone:拨打电话

更新时间:2022-10-15 14:53:25

您可以通过请求URL tel:// ###-###-### 来拨打电话>,但这将退出您的应用程序并启动iPhone的默认电话应用程序。由于此时您的应用程序已退出,因此无法播放声音。

You can call a number by requesting the URL tel://###-###-###, but this will quit your application and launch the iPhone's default phone application. There is no way of playing a sound as your application has exited at that point.