在iPhone上拨打电话的正确URL是什么?

Jic*_*ick 5 iphone xcode

是自动调用iPhone的代码吗?

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:11111111111"]]);
Run Code Online (Sandbox Code Playgroud)

Jan*_*mal 8

你的第二行很好,会起作用.

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://1111111111"]]);
Run Code Online (Sandbox Code Playgroud)