Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当用户收到带有指定类型附件的电子邮件并处理它时,我需要运行我的 iPhone 应用程序。例如“一些.jpg”。如何?
您将无法在 iPhone 上接管这样的基本文件类型。您最接近的方法是实现您自己的自定义 URL 方案,如果您是发送电子邮件的人,这将使您的应用程序在相同的情况下启动......
这意味着您可以将其设置为电子邮件链接,例如
myspecialimage://mycoolserver.com/some.jpg
当用户点击时启动您的特殊应用程序。
请参阅此链接或Apple 文档以获取指导。