Error found - too many arguments to method call expected 1 have 2 - in app email
Posted
by
Anthony Farah
on Stack Overflow
See other posts from Stack Overflow
or by Anthony Farah
Published on 2012-07-01T02:51:47Z
Indexed on
2012/07/01
3:16 UTC
Read the original article
Hit count: 193
xcode4.3
There seems to be an error with my coding, and it says that there are to many nils or something I need help
MFMailComposeViewController *composer = [[MFMailComposeViewController alloc]init];
if ([MFMailComposeViewController canSendMail]) {
[composer setToRecipients:[NSArray arrayWithObject:@"[email protected]", nil]];
[composer setSubject:nil];[composer setMailComposeDelegate:self];
[composer setMessageBody:nil isHTML:YES];
[composer setModalTransitionStyle:UIModalTransitionStyleFlipHorizontal];
© Stack Overflow or respective owner