简体   繁体   English

从“联系我们” UIViewController iOS 7发送电子邮件

[英]Sending email from a 'Contact Us' UIViewController iOS 7

Is there a way to send email directly from an iOS app on Xcode without showing the email dialog screen for a built in "contact us" form? 有没有一种方法可以直接从Xcode上的iOS应用程序发送电子邮件,而无需显示内置“联系我们”表单的电子邮件对话框屏幕? There is a ton of stuff on this on SO but it all says that either it's not allowed (at least through Apple-compliant frameworks), or the ones that say it is allowed have not worked for me in any capacity. 在SO上有很多东西,但都说明要么不允许(至少通过与Apple兼容的框架),要么说不允许,但对我来说却没有任何作用。 Is this allowed or not, because I can't seem to fight any answer that isn't riddled with ambiguity, argument and controversy. 是否允许这样做,因为我似乎无法与任何模棱两可,争论和争议混为一谈的答案。 Thanks! 谢谢!

No, you can't send email without showing to the user the corresponding view controller for mail. 不,您必须向用户显示相应的邮件视图控制器才能发送电子邮件。 Same way for SMSs. 短信的方式相同。

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

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