2009-10-26

How to initiate a phone call when the user taps on a phone number on an iPhone application

Declare the number with prefix “tel:”

NSString *tele = @"tel:0094-776764360";

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:tele]];

[tele release];

No comments: