iOS Send Message Programatically -


can tell me there way send sms programmatically in ios without message composer if not please suggest me open source api send sms programatically in ios application.

you not , can automatically send text message iphone. alternative this:

- (void)showsms:(nsstring*)file {      if(![mfmessagecomposeviewcontroller cansendtext]) {         uialertview *warningalert = [[uialertview alloc] initwithtitle:@"error" message:@"your device doesn't support sms!" delegate:nil cancelbuttontitle:@"ok" otherbuttontitles:nil];         [warningalert show];         return;     }      nsarray *recipents = @[@"12345678", @"72345524"];     nsstring *message = [nsstring stringwithformat:@"just sent %@ file email. please check!", file];      mfmessagecomposeviewcontroller *messagecontroller = [[mfmessagecomposeviewcontroller alloc] init];     messagecontroller.messagecomposedelegate = self;     [messagecontroller setrecipients:recipents];     [messagecontroller setbody:message];      // present message view controller on screen     [self presentviewcontroller:messagecontroller animated:yes completion:nil]; } 

Comments