是否可以为 MFMailComposeViewController 提供自定义视图?

发布于 2024-11-07 02:41:16 字数 178 浏览 0 评论 0原文

我有一个设计精美的邮件发送页面,我必须实现它。我想使用 MFMailComposeViewController 来完成此任务,但这有它自己的常规视图。我有什么选择?有没有办法在 MFMailComposeViewController 中使用我自己的视图?或者也许是从应用程序发送电子邮件的另一种方式,允许我自定义视图?

谢谢!

I have a nicely designed mail sending page that I have to implement. I would like to use MFMailComposeViewController to achieve this task but this comes with its own regular view. What are my options? Is there a way to use my own view with MFMailComposeViewController? Or maybe another way to send emails from the app that allow me to customize the view?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

零度° 2024-11-14 02:41:16

您不得以任何方式更改 MFMailComposeViewController。引用文档

重要提示:邮件撰写界面本身不可自定义,并且您的应用程序不得对其进行修改。

据我所知,没有其他内置方式可以从设备发送电子邮件。

您唯一的其他选择是让设备联系您自己的服务器,该服务器将转发电子邮件消息,但消息当然不会来自与设备等关联的电子邮件地址。

You may not change MFMailComposeViewController in any way. Quoth the documentation:

Important: The mail composition interface itself is not customizable and must not be modified by your application.

As far as I know, there is no other built-in way to send email from the device.

Your only other option would be to have the device contact a server of your own which would forward the email message, but then of course the message wouldn't be coming from the email address associated with the device and such.

扮仙女 2024-11-14 02:41:16

阿诺米是正确的。

我们创建了一个应用程序,它使用后端电子邮件服务器发送匿名电子邮件,并且我们有一个自定义前端来收集用户消息。然而,如果您只是认为组合界面需要改造,那么这确实不是一个好方法,并且几乎肯定会让您在提交过程中受到猛烈抨击。

不搞乱界面的最佳理由 -

。用户会质疑任何与苹果电子邮件界面不同的电子邮件界面的真实性。

Anomie is correct.

We created an app which had used a backend email server to send anonymous emails and we had a custom front end to collect the user message. However if you're just thinking that the composition interface needs a makeover it's really not a good approach and almost certainly will get you slammed during the submission process.

Best Reason for not messing with the interface -

. User will question authenticity of any email interface which does not resemble Apple's email interface.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文