Method-After the call is not back to the original application, will stay in the address book, and is directly dialed, not pop-up hints
Nsmutablestring * phonestr=[[nsmutablestring alloc] initwithformat:@ "tel:%@", @ "188xxxx8888"];
[[UIApplication sharedapplication] Openurl:[nsurl Urlwithstring:phonestr]];
Method Two, after the call will return to the original program, will also pop-up hints
Nsmutablestring * phonestr=[[nsmutablestring alloc] initwithformat:@ "tel:%@", @ "188xxxx8888"];
UIWebView * Callwebview = [[UIWebView alloc] init];
[Callwebview loadrequest:[nsurlrequest Requestwithurl:[nsurl Urlwithstring:phonestr]];
[Self.view Addsubview:callwebview];
Method 3, this method will go back to the original program (note telprompt), will also pop-up hints
Nsmutablestring * phonestr=[[nsmutablestring alloc] initwithformat:@ "telprompt://%@", @ "188xxxx8888"];
[[UIApplication sharedapplication] Openurl:[nsurl Urlwithstring:phonestr]
Phone calls from IOS