是否可能有一个自定义视图MFMailComposeViewController? [英] Is it possible to have a custom view for MFMailComposeViewController?
问题描述
我有一个精心设计的邮件发送页面,我必须实现。我想使用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?
谢谢!
推荐答案
您不能以任何方式更改MFMailComposeViewController。 Quoth 文档:
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.
这篇关于是否可能有一个自定义视图MFMailComposeViewController?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!