-1

is it possible to send n number of sms to n number of user and i want to collect the all the reply also in iPhone .i don't have any idea to do this.

Sport
  • 8,570
  • 6
  • 46
  • 65

2 Answers2

0

You can open the SMS app in your phone with a prefilled text from your app, and send it from there, but you can't read your SMS in your app or send them from inside your app.

Antonio MG
  • 20,382
  • 3
  • 43
  • 62
0

from your application you can send n no.of SMS to n no.of people. but you can't get replied SMS to your app. Apple have a restriction to this. If you want how to send SMS from app let me know

#import <MessageUI/MessageUI.h>


-(void)composeSMS

{

  MFMessageComposeViewController *controller = [[MFMessageComposeViewController alloc] init];

                if([MFMessageComposeViewController canSendText])

                {
                    controller.body =@"Testing";
                    controller.messageComposeDelegate = self;
                    [self presentModalViewController:controller animated:YES];
                }
}

-(void)messageComposeViewController:(MFMessageComposeViewController *)controller didFinishWithResult:(MessageComposeResult)result

{

    [self dismissModalViewControllerAnimated:YES];

}
square
  • 162
  • 2
  • 13
Charan Giri
  • 1,097
  • 1
  • 9
  • 15
  • i want send the sms and want to receive if user replied – Sport Dec 16 '13 at 10:42
  • and how can i send n no.of SMS to n no.of people help me @charan giro – Sport Dec 16 '13 at 10:44
  • @giri use of my apps i want to send sms .where have i type the no of receiver user in this code give some more information – Sport Dec 16 '13 at 10:57
  • add controller.recipients = [NSArray arrayWithObjects:@"1(234)567-8910", nil]; here you can set no of people you need to SMS/Messege – Charan Giri Dec 17 '13 at 03:48