I want to send sms using below code in iPhone 4, but the application is crashing due to this code only. if ([MFMessageComposeViewController canSendText]) { MFMessageComposeViewController *smsComposerController = [[[MFMessageComposeViewController alloc] init] autorelease]; [smsComposerController setBody:@"First SMS"]; smsComposerController.recipients = [NSArray arrayWithObjects:@"9886333333",@"9980444444",nil]; smsComposerController.messageComposeDelegate = self; [smsComposerController release]; } I am new for SMS sending , so can any one help me what I am doing wrong?
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update