I have a UIButton with a telephone number as a title.
Will this code open the phone app with the title number?
- (IBAction)callContact:(id)sender
{
[[UIApplication sharedApplication] openURL:
[NSURL URLWithString:telfButton.titleLabel.text]];
}
It is giving me an error.