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.
how to broadcast sms through iPhone apps
869 Views Asked by Sport At
2
There are 2 best solutions below
4
On
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];
}
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.