메일 응용 프로그램에 messageUI 프레임 워크를 포함 시켰습니다. 사용자가 입력 한 값을 메일 본문에 표시해야하는 5 개의 UITextField가 있습니다. 여기에 ...? 내가 직면하고있어 문제는 모두 네 개의 텍스트 필드 값은 다섯 번째 텍스트 필드의 값이 displayed..Any 생각하지 표시됩니다 것입니다UITextField 내용에 대한 MessageUI 프레임 워크 문제가 표시되지 않습니다.
if ([MFMailComposeViewController canSendMail])
{
MFMailComposeViewController *mailer = [[MFMailComposeViewController alloc] init];
mailer.mailComposeDelegate = self;
[mailer setSubject:[NSString stringWithFormat:@"Appointment From Mr/Mrs. %@",text1.text]];
NSArray *toRecipients = [NSArray arrayWithObjects:@"[email protected]", nil];
[mailer setToRecipients:toRecipients];
NSString *emailBody =[NSString stringWithFormat:@"Name :%@\nDate: %@\nPreferred Time Slot: %@\nE-Mail:%@\nSpecific Requests:",text1.text,text2.text,text3.text,text4.text,text5.text];
[mailer setMessageBody:emailBody isHTML:NO];
[self presentModalViewController:mailer animated:YES];
[mailer release];
}
내 코드는 내가 무엇을 놓치고? ..
답변 및 추가 정보 주셔서 감사합니다. 나는 다른 질문에 그 질문을 생각 ... – Dany