简体   繁体   English

iPhone,使用MFMailComposeViewController时可以设置电子邮件的“发送自”选项吗?

[英]iphone, can we set the option 'Send From' of the email when use MFMailComposeViewController?

as topic.... I just want change the value 'Send From' when compose new email. 作为主题...。我只想在撰写新电子邮件时更改值“发送自”。 but seem it is impossible...... 但是似乎不可能...

anyone can give tips ? 任何人都可以给小费吗?

many thanks. 非常感谢。

No, only the user can change it once they are in the MFMailComposeViewController view by tapping on the "From:" field and selecting their various e-mail address from the picker view. 不,只有在MFMailComposeViewController视图中的用户才能通过单击“发件人:”字段并从选择器视图中选择其各种电子邮件地址来对其进行更改。

For future reference, unless something like this is in the class reference, you probably can't do it without accessing private API (which is a no-no). 为了将来参考,除非在类参考中包含类似的内容,否则您可能无法访问私有API(这是禁止)。

Class reference: http://developer.apple.com/iphone/library/documentation/MessageUI/Reference/MFMailComposeViewController_class/Reference/Reference.html 类参考: http : //developer.apple.com/iphone/library/documentation/MessageUI/Reference/MFMailComposeViewController_class/Reference/Reference.html

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

相关问题 iPhone:如何不使用MFMailComposeViewController类从iPhone发送电子邮件? - iPhone: how to send email from iPhone withouth use MFMailComposeViewController Class? 尝试从iPhone发送电子邮件时,MFMailComposeViewController崩溃 - MFMailComposeViewController crashes when trying to send email from iPhone 我们可以获取在MFMailComposeViewController中设置的“发件人”电子邮件地址吗? - Can we get the From email address that is set in MFMailComposeViewController? 从iPhone中的MFMailComposeViewController发送邮件时显示成功警报消息 - Display the success alert message when mail send from MFMailComposeViewController in iPhone 可以从xcode 4 iphone模拟器4.3,我们通过应用程序发送电子邮件 - Can from xcode 4 iphone simulator 4.3, we send email by application 无法从带有 MFMailComposeViewController 的应用程序发送电子邮件 - Not able to send email from an app with MFMailComposeViewController 无法在iPhone的MFMailComposeViewController中设置Mailto字段 - can't set Mailto field in MFMailComposeViewController in iphone 使用MFMailComposeViewController发送电子邮件 - Send Email using MFMailComposeViewController MFMailComposeViewController发送电子邮件! - MFMailComposeViewController send the email! iPhone使用MFMailComposer从应用程序发送电子邮件吗? - iPhone to use MFMailComposer to send email from app?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM