Two call methods for iOS and ios
Method 1
NSString * phone = @ "88888888"
If (phone! = Nil ){
NSString * telUrl = [NSString stringWithFormat: @ "telprompt: % @", phone];
NSURL * url = [[NSURL alloc] initWithString: telUrl];
[[UIApplication sharedApplication] openURL: url];
}
Method 2
UIWebView * callWebview = [[UIWebView alloc] init];
NSString * telUrl = [NSString stringWithFormat: @ "tel: % @", phone];
NSURL * telURL = [NSURL URLWithString: telUrl]; // seemingly tel: // or tel: OK
[CallWebview loadRequest: [NSURLRequest requestWithURL: telURL];
// Remember to add to view
[Self. view addSubview: callWebview];
"Can I call a phone number for free as I believe in iOS 8"
I heard that the new system iMessage's functional breakthroughs seem to bring a lot of pressure.
Solution: the US version locks the iPhone 4S to upgrade ios7, and then the phone number says your phone did not activate this service. How can this problem be solved?
Clothes will take one day this year