我的应用程序如何跳到iOS默认邮箱? [英] How can my app jump to iOS default mailbox?

查看:377
本文介绍了我的应用程序如何跳到iOS默认邮箱?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的应用程序中设置一个按钮,如果点击,应用程序可以跳到iOS的默认邮箱。我想这样做,所以用户可以检查&发邮件



此功能是否需要私有API或Apple禁止此功能?



提前感谢您的帮助。

解决方案

强力>发送来自您的应用程序的电子邮件,前两个答案之一将起作用: MFMailComposeViewController 或使用url方案 mailto: //



对于检查用户电子邮件,目前没有公开的方式来启动默认的iOS邮件应用程序然而,有几个第三方库可用于设置您自己的邮件客户端,例如 MailCore remail Chilkat 。我确定还有其他人,但你得到的想法。


I wanna set a button inside my app that, if clicked, app can jump to the default mailbox of iOS. I want to do this so users can check & send their mails.

Does this function need a private API or is this forbidden by Apple?

Thanks in advance for your kind help.

解决方案

To Send an email from within your app, one of the first 2 answers will work: MFMailComposeViewController or using the url scheme mailto://.

As for checking the users email, there is currently no public way to launch the default iOS mail application. There are however a few 3rd party libraries available to allow you to set up your own mail client, for example MailCore, remail or Chilkat. I'm sure there are others but you get the idea.

这篇关于我的应用程序如何跳到iOS默认邮箱?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆