I use MFMailComposeViewController to send feedback in my application. It is working fine. But the problem here is that the user can edit / delete the address "on". I want to make it indispensable. Maybe the user can add some email addresses in the To field.
But he / she should not delete the feedback address (here it is " support@xxxx.com ").
Here is my code ...
MFMailComposeViewController *composeWindow = [[MFMailComposeViewController alloc] init]; composeWindow.mailComposeDelegate = self; NSString *str = @"Subject of the feedback"; [composeWindow setSubject:[str stringByAppendingString:[[UIDevice currentDevice]systemVersion]]]; NSArray *toRecipients = [NSArray arrayWithObject: @" support@xxxx.com "]; [composeWindow setToRecipients:toRecipients]; [self presentModalViewController:composeWindow animated:YES]; [composeWindow release];
Thanks at Advance
Rajkanth
Rajkanth
source share