Ios 由于邮件原因,应用被拒绝

Ios 由于邮件原因,应用被拒绝,ios,iphone,appstore-approval,mfmailcomposer,Ios,Iphone,Appstore Approval,Mfmailcomposer,我的应用被拒绝,原因如下:- 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. 我没有得到他们想要的。我使用了MFMailComposer类,有什么问题吗?有什么建议吗 。。。“电子邮件”按钮应允许用户在应用程序中撰写电子邮件 这意味着你的程序

我的应用被拒绝,原因如下:-

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.
我没有得到他们想要的。我使用了
MFMailComposer
类,有什么问题吗?有什么建议吗

。。。“电子邮件”按钮应允许用户在应用程序中撰写电子邮件

这意味着你的程序应该允许人们撰写电子邮件,而不是打开Mail.app

。。。“电子邮件”按钮应允许用户在应用程序中撰写电子邮件


这意味着你的程序应该允许人们撰写电子邮件,而不是打开Mail.app。

你是这样做的:

- (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];
}

我认为您必须使用
MSMailComposeViewController
(正如我在上面的示例中所做的那样)来做您想做的事情。

您是这样做的吗:

- (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];
}

我认为您必须使用
MSMailComposeViewController
(正如我在上面的示例中所做的那样)来做您想做的事情。

您是否正在显示
MFMailComposeViewController
?它表示您正在从应用程序启动邮件应用程序。。但您必须显示邮件生成器,以便用户可以编写邮件并发送。。显示您的邮件生成器代码。是的,我正在使用
MFMailComposeViewController
。您是否正在显示
MFMailComposeViewController
?它显示您正在从应用程序启动邮件应用程序。。但您必须显示邮件生成器,以便用户可以编写邮件并发送。。显示您的邮件编写器代码。是的,我正在使用
MFMailComposeViewController
。但即使这样也会打开编写器工作表?用户可以编写自己的内容,但现在一个html页面正在该主体中展开。您可以通过撰写电子邮件给我任何链接或解释一些知识吗?但即使这样也会打开编写器工作表吗?用户可以在其中撰写自己的内容,但现在一个html页面正在该主体中展开。请您给我任何链接或通过撰写电子邮件解释一些知识。我和您一样做了。它打开时包含一些数据。打开的是什么?邮件应用程序??它不在我的模拟器中。我不明白每个人都使用MFMailComposer应用程序来撰写电子邮件,我也使用了同样的应用程序。可能是我应用程序的其他部分发生了这种情况。据我所知,我只做了这件事。谢谢回复。我和你一样做了。它打开时包含一些数据。打开的是什么?邮件应用程序??它不在我的模拟器中。我不明白每个人都使用MFMailComposer应用程序来撰写电子邮件,我也使用了同样的应用程序。可能是我应用程序的其他部分发生了这种情况。据我所知,我只做了这件事。谢谢回复