Use the UIApplication: openURL method to open a resource from another program. This includes opening mail, phone numbers, searching for Google maps, etc.
So, so that you can call someone using the method, you can use
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:123456789"]];
source
share