views:

52

answers:

1

in my Application i am using MFMailComposeViewController for emails... I am Adding to Field in it programmaticly... I want To prevent user to edit the TO field,

User can't change TO field's email address... I am not able to find neither i know if it is possible or not

It is not necessary but still code is

NSArray *arr = [NSArray arrayWithObject:Emailstr];
    MFMailComposeViewController* controller = [[MFMailComposeViewController alloc] init];
    controller.mailComposeDelegate = self;
    [controller setToRecipients:arr];
    [controller 
    [controller setMessageBody:@"Hello there." isHTML:NO]; 
    [self presentModalViewController:controller animated:YES]; 
+1  A: 

It's not possible.

Ole Begemann