Q:

How to make a phone call through programming

How to make a phone call through programming in iOS? 

A:

Use UIApplication:openURL method to open a resource from other program.  This includes opening mail, phone number, google maps search etc..
So, in order for you to call somebody using the method, you can use
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:123456789"]];

