How to set from in MFMailComposeViewController?

后端 未结 4 1638
礼貌的吻别
礼貌的吻别 2021-01-05 04:34

How do I set the from address in the MFMailComposeViewController?

MFMailComposeViewController *controller = [[MFMailComposeViewController alloc]         


        
4条回答
  •  感动是毒
    2021-01-05 05:01

    There isn't a way to do what you want with the From field. The from address will default to whatever mail account the user has specified as "default" in Settings. Obviously if the user has only one mail account set up then it will be that account.

提交回复
热议问题