我的应用被拒绝了,原因如下:-
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
类,有什么问题吗?任何建议。
你是这样做的吗:
- (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
(如我在上面的例子中)做你想做的事。
...电子邮件按钮应该使用户能够在应用程序中撰写电子邮件...
他们的意思是你的程序应该允许人们撰写电子邮件,而不是打开 Mail.app。