我的应用程序中装有MFMailComposeViewController,收件人隐藏在发件人栏后面。如何使其可见并正确显示?
- (void)bottomBtnClick:(UIButton *)sender
{
NSString *emailTitle = @"Feedback";
// Email Content
NSString *messageBody = [NSString stringWithFormat:@"Hi Support,\rI have some feedback here:-\r"];
// To address
NSArray *toRecipents = [NSArray arrayWithObject:@"admin@xxx.com"];
MFMailComposeViewController *mc = [[MFMailComposeViewController alloc] init];
mc.mailComposeDelegate = self;
[mc setSubject:emailTitle];
[mc setMessageBody:messageBody isHTML:NO];
[mc setToRecipients:toRecipents];
// Present mail view controller on screen
[self presentViewController:mc animated:YES completion:NULL];
}