How to send an email through iOS simulator?

前端 未结 4 1346
后悔当初
后悔当初 2021-02-01 02:47

I want to know if it\'s possible to send email through iPhone simulator. I have seen the tutorial for sending an email through iphone as below:

http://www.edumobile.org/

4条回答
  •  没有蜡笔的小新
    2021-02-01 03:22

    You can use the MessageUI framework on the simulator to compose and 'send' messages, but I don't believe there's a way to actually send the message. Once the user hits the Send button in the message composition view, though, your code doesn't have any role in sending the message. So the simulator does enough that you can develop and test your app.

    As for whether it's necessary to have a real device, I'd say that at some point you need to test on one or more devices no matter what. The simulator is a great tool, but after a certain point it's no substitute for running your app on the real thing.

提交回复
热议问题