Cocoa touch Xcode:检查电子邮件是否已发送或已取消

Cocoa touch Xcode:检查电子邮件是否已发送或已取消,cocoa-touch,mfmailcomposeviewcontroller,Cocoa Touch,Mfmailcomposeviewcontroller,我想使用电子邮件注册进行登录,为此,我必须检查用户是否单击了“发送”或“取消”。 有没有可能检查一下这个?因为如果用户不发送,我不希望他出现在我的应用程序中。 注意如果您使用默认的MFmailcomoserviewcontroller请尝试在以下位置检查“(MFmailcomposeSult)结果”: // Then implement the delegate method - (void)mailComposeController:(MFMailComposeViewController*)

我想使用电子邮件注册进行
登录
,为此,我必须检查用户是否单击了“发送”或“取消”。 有没有可能检查一下这个?因为如果用户不发送,我不希望他出现在我的应用程序中。
注意

如果您使用默认的
MFmailcomoserviewcontroller
请尝试在以下位置检查“
(MFmailcomposeSult)结果”

// Then implement the delegate method
- (void)mailComposeController:(MFMailComposeViewController*)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError*)error {
    [self dismissModalViewControllerAnimated:YES];
}




enum MFMailComposeResult {

   MFMailComposeResultCancelled,

   MFMailComposeResultSaved,

   MFMailComposeResultSent,

   MFMailComposeResultFailed

};
typedef enum MFMailComposeResult MFMailComposeResult;