在HTML
我正在寻找一种类似以下的标签或属性:
href =“ mailto:foo@bar.com”
但
href="phoneto:+11XXXXXXXX"
是否存在?
最佳答案
这是给iPhone的
html / url格式为:
href="tel:########"
在Objective-C代码中:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:8005551212"]];
这是指向相关Apple Documentation on URL Schemes的链接。
关于iphone - 有没有办法从html打开调用拨号?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/6137160/