0

My App got rejected and reason is below:-

Did not integrate with iOS features. For example, the email button should enable users to compose emails in the app rather than launching the Mail app.

I did not get that what they want. I have used MFMailComposer class so what's wrong with it?Any Suggestion.

Kara
  • 6,115
  • 16
  • 50
  • 57
Sanoj Kashyap
  • 5,020
  • 4
  • 49
  • 75

2 Answers2

2

Did you do it like this:

- (IBAction)pushMail:(id)sender { //A button that initiates composition
    MFMailComposeViewController* controller = [[MFMailComposeViewController alloc] init];
    controller.mailComposeDelegate = self;
    [controller setSubject:@"My Mail Subject"];
    if (controller) [self presentModalViewController:controller animated:YES];
    [controller release];
}
- (void)mailComposeController:(MFMailComposeViewController*)controller  
          didFinishWithResult:(MFMailComposeResult)result 
                        error:(NSError*)error;
{
    if (result == MFMailComposeResultSent) {
        NSLog(@"It's away!");
    }
    [self dismissModalViewControllerAnimated:YES];
}

I think you have to use an MSMailComposeViewController (as I have in the above example) to do what you want.

Conor Taylor
  • 2,998
  • 7
  • 37
  • 69
1

... the email button should enable users to compose emails in the app ...

They mean that your program should allow people to compose emails, instead of opening Mail.app.

Michael Robinson
  • 29,278
  • 12
  • 104
  • 130
  • but even that is opening the Composer sheet ? where user can compose his own content but right now an html page is dispaling in that body.Could you please give me any link or explain a little lore by compose email. – Sanoj Kashyap Sep 20 '12 at 05:53