tech.samar
tech.samar

Reputation: 152

make a call in iphone from my application

how can i make call from my application to particular no. Give me some logic or code for performing this task...

Upvotes: 3

Views: 2110

Answers (1)

Vladimir
Vladimir

Reputation: 170849

Use UIApplication's openURL: method:

[[UIApplication sharedApplication] openURL:
       [NSURL URLWithString:[NSString stringWithFormat:@"tel:%@",phoneNumber]]];

Upvotes: 8

Related Questions