简体   繁体   English

使用本机应用程序访问iPhone邮件收件箱。 可能?

[英]Access iPhone Mail inbox using native app. Possible?

I was asked to write a native iPhone to provide a filtered view of items in the Mail InBox. 我被要求编写一个本机iPhone,以提供Mail InBox中项目的过滤视图。 For instance, I may want to list out only the emails with text "Mac Tablet Gossip" inside the mail content. 例如,我可能只想在邮件内容中列出带有文本“ Mac Tablet Gossip”的电子邮件。 However, I don't need (or want) to access the inbox of the mail account, but instead I hope that I can just access the inbox on the device. 但是,我不需要(或不想)访问邮件帐户的收件箱,而是希望我可以访问设备上的收件箱。 Is it doable using the framework provided by Apple? 使用Apple提供的框架是否可行?

Down the road apple will probably not provide API access to email directly, but they may open up a device-wide search API using Core Data or something similar. 苹果可能不会直接向电子邮件提供API访问权限,但他们可能会使用Core Data或类似工具打开设备范围的搜索API。 The only solution I can come up with to your problem would be if somehow you had an RSS feed of your inbox, which you could then easily import and parse in your custom app and search it to return the relevant mail items. 我可以针对您的问题提出的唯一解决方案是,如果您以某种方式拥有收件箱的RSS feed,则可以轻松地在自定义应用程序中导入和解析该RSS feed,然后搜索它以返回相关的邮件项目。

当前没有用于访问设备收件箱的API。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM