I think there is no specific limit for the number of recipients in MFMessageComposeViewController
As you could see in the code below
toRecipients is an So array that you can try filling out entire contacts that you prefer to check for the number of recipients ...
void sendSMS
{
if ([MFMessageComposeViewController canSendText]) {
MFMessageComposeViewController *myMessageComposeViewController = [[MFMessageComposeViewController alloc] init];
myMessageComposeViewController.messageComposeDelegate = self;
NSString *bodyString = nil;
NSMutableArray *toRecipients = [[NSMutableArray alloc]init];
[toRecipients addObject:@"0933660805"];
[myMessageComposeViewController setRecipients:(NSArray *)toRecipients];
[toRecipients release];
bodyString = [NSString stringWithFormat: @"Message body"];
[myMessageComposeViewController setBody:bodyString];
[self presentModalViewController:myMessageComposeViewController animated:YES];
[myMessageComposeViewController release];
}
source
share