how to test MFMailComposeViewController in simulator

前端 未结 3 1064
忘了有多久
忘了有多久 2021-01-25 17:38

Is there a way to test sending emails from MFMailComposeViewController in iphone simulator ?

3条回答
  •  北荒
    北荒 (楼主)
    2021-01-25 18:26

    Actual mail sending is not possible from the simulator. Install the APP on a phone to test that.

    However you can test everything that your APP can do/control/specify in the simulator. Everything after the pressing of the Send button is Apple, so you can assume that is working okay.

提交回复
热议问题