How can I find out whether the user pressed the Call or the Cancel button when making a call from my app?

前端 未结 6 390
梦谈多话
梦谈多话 2020-12-05 20:48

I need to return to my app after making a call from my app, so I use this code:

NSURL *url = [NSURL URLWithString:@\"telprompt://123-4567-890\"]; 
[[UIApplic         


        
6条回答
  •  自闭症患者
    2020-12-05 21:27

    When application executes above code, it will exit current application & navigate to call application of iPhone. So, it is not possible for the application to identify whether the user has pressed call or cancel. Hope,it will help you.

提交回复
热议问题