Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/sorting/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c 如何使用NSSharingService附加文件_Objective C_Macos_Cocoa_Thunderbird_Nssharingservice - Fatal编程技术网

Objective c 如何使用NSSharingService附加文件

Objective c 如何使用NSSharingService附加文件,objective-c,macos,cocoa,thunderbird,nssharingservice,Objective C,Macos,Cocoa,Thunderbird,Nssharingservice,我正在使用NSSharingService准备邮件。我主要遵循这里的建议: 我在打电话 [self.emailSharingService performwhitems:shareItems] 其中,shareItems是一个NSArray,包含一个NSString对象(主体)和几个NSURL对象(附件) 使用AppleMail,邮件准备工作正常(如正文和附件),但不幸的是,如果我使用其他邮件客户端(如Thunderbird、Spark),则不会添加附件 有人知道我如何在AppleMail以外的

我正在使用
NSSharingService
准备邮件。我主要遵循这里的建议:

我在打电话

[self.emailSharingService performwhitems:shareItems]

其中,
shareItems
是一个
NSArray
,包含一个
NSString
对象(主体)和几个
NSURL
对象(附件)

使用AppleMail,邮件准备工作正常(如正文和附件),但不幸的是,如果我使用其他邮件客户端(如Thunderbird、Spark),则不会添加附件

有人知道我如何在AppleMail以外的其他邮件客户端中添加附件吗