I have implemented the ability to make a call from clicking on a row of descriptive tableview of my hotel; I used the URL scheme by writing the following code in method \"di
Try this useful code
Remove spaces for your code
NSString *trimmedString = [yourNumberString stringByReplacingOccurrencesOfString:@" " withString:@""];
Code for Call after confirmation
NSString *phoneNumber = [@"telprompt://" stringByAppendingString:trimmedString];
Code for direct calling
NSString *phoneNumber = [@"tel://" stringByAppendingString:trimmedString];
NSLog(@"Number : %@",phoneNumber);
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:phoneNumber]];