如何检测用户是否取消了NSSharingServiceNameComposeEmail请求?

时间:2019-01-18 19:43:17

标签: email cancellation nssharingservice

使用如下代码:

 -(void)testMail
{
_service = [NSSharingService sharingServiceNamed:NSSharingServiceNameComposeEmail];
_service.recipients = @[@"anEmailAddress"];
_service.subject = @"Test Mail";
NSArray* items = @[@"This is the body"];
_service.delegate = self;
[_service performWithItems:items];
}

如何检测到用户已取消/退出邮件而未发送电子邮件?

0 个答案:

没有答案