ios - swift : check if an email has been received with specific attachment type

标签 ios apple-push-notifications

我是 Ios 开发人员的新手。 我想知道是否有办法添加观察者(或任何其他实现),以便当我收到具有特定附件类型的电子邮件时,会显示通知。

我的想法是我希望我的应用程序能够收听每一封传入的电子邮件,当收到带有附件的电子邮件时,我会弹出一个窗口。

最佳答案

IOS 中没有观察者通知可以让你收听用户邮件,但如果你是向用户设备发送电子邮件的人,你可以添加推送通知功能来触发用户应用程序中的某些东西

关于ios - swift : check if an email has been received with specific attachment type,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49070019/

相关文章:

ios - iOS 应用程序是否可以以编程方式了解 APNS 警报何时到达设备?

php - IOS 向特定用户推送通知?

iphone - 如何获取要在 Apple 推送通知服务中播放的自定义声音文件?

ios - 如何通过 MFMailComposer 发送链接?

ios - 如何通过 -addSublayer : respond to touch events? 添加 UI 元素

ios - 是否可以使用 ARKit 检测放置有物体的地板?

ios - APN 和临时构建

ios - 实现 PushKit 并测试开发行为

ios - 如何使用 indexPathsForSelectedItems 在 Collection View 中获取选定项

ios - 如何在 Google 云端硬盘中按名称查找文件夹?