1, this method, call the end of the phone 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:%@", @ "188xxxx9851"];
[[UIApplication sharedapplication] Openurl:[nsurl Urlwithstring:phonestr]];
2, this method, after the call will return to the original program, will also pop up hints, recommend this
Nsmutablestring * phonestr=[[nsmutablestring alloc] initwithformat:@ "tel:%@"@ "188xxxx9851"];
UIWebView * Callwebview = [[uiwebview alloc] init];
[Callwebview loadrequest: [nsurlrequest requestwithurl: [nsurl urlwithstring :p Honestr]];
[self. View addsubview: Callwebview];
3, this method will also go back to the original program (note here Telprompt), will also pop-up hints
Nsmutablestring * phonestr=[[nsmutablestring alloc] initwithformat:@ "telprompt://% @ "@" 188xxxx9851 "];
[[uiapplication sharedapplication] openURL: [nsurl urlwithstring :p Honestr]]
function of Phone call