从我自己的应用程序中启动Apple Mail App? [英] Launch Apple Mail App from within my own App?
本文介绍了从我自己的应用程序中启动Apple Mail App?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经找到的是
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"mailto:"]];
但我只想打开邮件应用程序不仅是一个作曲家视图。
But I just want to open the Mail app not only a composer view. Just the mail app in its normal or last state.
任何想法?
推荐答案
由于启动其他应用程序的唯一方法是使用其URL方案,打开邮件的唯一方法是使用mailto:scheme。不幸的是,对于您的情况,将始终打开撰写视图。
Since the only way to launch other applications is by using their URL schemes, the only way to open mail is by using the mailto: scheme. Which, unfortunately for your case, will always open the compose view.
这篇关于从我自己的应用程序中启动Apple Mail App?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文