What’s the correct URL for placing a call on an iPhone?

前端 未结 5 893
闹比i
闹比i 2020-12-11 06:55

Is the code for calling on the iPhone automatically

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@\"tel:11111111111\"]]);
5条回答
  •  自闭症患者
    2020-12-11 07:10

    From trying on an iPhone, tel://123456789 is the way to go. The tel:123456789 option is not even recognized, at least by the Safari URL bar.

提交回复
热议问题