Tag: 附件

URL计划附件Microsoft Outlook应用程序

我试图做一个应用程序,生成一个文件,并填写所有的电子邮件字段,所以用户只需input正文。 我也给用户在本地iOS电子邮件应用程序和Microsoft Outlook应用程序(如果已安装)之间进行select的可能性。 当我实现这个准备在本地电子邮件应用程序中发送的电子邮件时,我已经使用了MessageUI框架,使附加文件变得容易,但是对于Outlook应用程序,我必须使用URL Scheme( ms-outlook:// )有没有简单的方法(或一个方法)附加文件。 有没有人已经成功地从另一个应用程序通过Outlook应用程序发送附件?

为什么EAAccessoryDidConnectNotification发生两次?

我有一个class级pipe理来自iPad的外部附件的信息。 在init中我有以下代码: – (id) init { self = [super init]; if (!self) return; [[EAAccessoryManager sharedAccessoryManager] registerForLocalNotifications]; //we want to hear about accessories connecting and disconnecting [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(accessoryDidConnect:) name:EAAccessoryDidConnectNotification object:nil]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(accessoryDidDisconnect:) name:EAAccessoryDidDisconnectNotification object:nil]; … } 在dealloc我有 – (void) dealloc { [[NSNotificationCenter defaultCenter] removeObserver:self name:EAAccessoryDidDisconnectNotification object:nil]; [[NSNotificationCenter defaultCenter] removeObserver:self name:EAAccessoryDidConnectNotification object:nil]; [[EAAccessoryManager […]

当用户尝试在iOS中打开电子邮件附件时,如何显示“打开在…”

我见过一些iOS应用程序有这个function:当用户试图打开一个电子邮件附件,他们可以按住附件几秒钟,一个popup菜单将出现显示两个button。 一个button显示“打开在iBooks”(例如)。 当用户点击它,那么应用程序将运行并打开附件。 我想知道如何注册我的应用程序与特定的文档types相关联。 文档打开时会发生什么? 它被复制到应用程序可以读取的位置,还是应用程序接收到某种代表文档的对象? 如果有人知道如何做到这一点,请让我知道。 Thx非常。