Ø (11)Calling Specific number in iphone
Call.h
#import <MessageUI/MessageUI.h>
- (IBAction)phoneButtonPressed:(id)sender;
Call.m
- (IBAction)phoneButtonPressed:(id)sender
{
NSURL
*phoneNumberURL = [NSURL URLWithString:@"tel:9662090929"];
[[UIApplication
sharedApplication] openURL:phoneNumberURL];
}
No comments:
Post a Comment