How to open Phone App from within another app without calling?

前端 未结 1 659
滥情空心
滥情空心 2021-01-13 22:33

I\'m trying to open just the Phone app from within an application I\'m making without dialing a number.

I\'ve tried:

NSString *stringURL = @\"tel://\         


        
相关标签:
1条回答
  • 2021-01-13 22:57

    try this,

    NSString *stringURL = @"tel:phonenumber";
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:stringURL]];
    
    0 讨论(0)
提交回复
热议问题