Making a call programmatically from iPhone app and returning back to the app after ending the call

后端 未结 6 1010
你的背包
你的背包 2020-12-03 15:25

I am trying to initiate a call from my iphone app,and I did it the following way..

-(IBAction) call:(id)sender
{

    UIAlertView *alert = [[UIAlertView allo         


        
6条回答
  •  一整个雨季
    2020-12-03 16:17

    This is my code :

    NSURL *url = [NSURL URLWithString:@"telprompt://123-4567-890"]; 
    [[UIApplication  sharedApplication] openURL:url]; 
    

    Use this so that after call end it will return to app.

提交回复
热议问题