我通常使用下面的代碼來允許用戶對我的應用程序提交反饋。但由於某些原因,在我的OpenGL應用程序中,下面的代碼有問題。它會正確打開電子郵件表單,但表單被鎖定 - 即用戶無法實際編輯文本的正文。任何人都可以發現這是爲什麼發生?MFMailComposeViewController存在問題 - 用戶無法編輯郵件正文 - iPhone
MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init];
picker.mailComposeDelegate = self;
[picker setSubject:@"Feedback on Stop That Bomb Free !"];
NSArray *toRecipients = [NSArray arrayWithObject:@"[email protected]"];
[picker setToRecipients:toRecipients];
// Fill out the email body text
NSString *emailBody =
[NSString stringWithFormat:@"Hi Martin, I would like to make the following comment : "];
[picker setMessageBody:emailBody isHTML:YES];
picker.navigationBar.barStyle = UIBarStyleBlack;
[inputController presentModalViewController:picker animated:YES];
[picker release];
我有同樣的問題。我無法弄清楚。你做了什麼來解決? – 2011-07-05 09:37:34