저는 iPhone 개발에 새로운 경험이 있습니다. 내 앱에서 버튼을 클릭하는 동안 MFMailComposeViewController를 사용하여 이메일을 보내려고합니다.MFMailComposeViewController를 사용하여 전자 메일을 보내려면 어떻게해야합니까?
어떻게하면됩니까? 아래 코드를 사용했습니다. 그것은이 경고가 표시되어
MFMailComposeViewController *controller = [[MFMailComposeViewController alloc] init];
[controller setSubject:@"Email App"];
[controller setMessageBody:@"Sample email app" isHTML:NO];
[self presentModalViewController:controller animated:YES]; // App crash in this line.
[controller release];
:
'ImportingDocumentAppDelegate' may not respond to '-presentModalViewController:animated:'.
감사합니다 .....
감사합니다. Saadnib. – Arun