开发者

Check recipient email address with MFMailComposeViewController

I have a question about the MFMailComposeViewController for sending an Email in an app. Is it possible to check the recipient adress before 开发者_Go百科sending the email ?

I did not find any response so i think it's not possible..

If it's not possible, there is other solution ?


When you present the MFMailComposeViewController you lose complete control over it.

You can't do anything with it, neither get the "To" email address nor prevent the sending of the mail.

From the documentation:

Important: The mail composition interface itself is not customizable and must not be modified by your application. In addition, after presenting the interface, your application is not allowed to make further changes to the email content. The user may still edit the content using the interface, but programmatic changes are ignored. Thus, you must set the values of content fields before presenting the interface.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜