Dial number in iOS really need confirmation?

前端 未结 3 1959
我在风中等你
我在风中等你 2021-01-03 03:39

I am using the following code to dial number and testing with my device. It seems no confirmation is needed, correct?

NSURL *url = [NSURL UR         


        
3条回答
  •  北荒
    北荒 (楼主)
    2021-01-03 04:05

    An alternative to the suitable solution already posted, you could consider using the telprompt URL scheme, e.g.

    NSURL *url = [NSURL URLWithString@"telprompt://12345678"];
    [[UIApplication sharedApplication] openURL:url];
    

提交回复
热议问题