Return to app behavior after phone call different in native code than UIWebView

后端 未结 4 1227
感情败类
感情败类 2020-11-27 04:19

According to Apple\'s documentation, in order to make phone call from my app, I need to implement the following protocols:

HTML link:



        
4条回答
  •  悲哀的现实
    2020-11-27 04:56

    The simplest way seems to be:

    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"telprompt:0123456789"]];
    

    You will get a prompt and your app will regain focus after the call is finished.

提交回复
热议问题