Simulate Sending an SMS to the iPhone Simulator in Xcode

Is there a way in xcode to simulate sending an sms to the iPhone simulator? I don't need to actually send a real SMS. I just need to look at how the message body displays in a bunch of different versions of ios. I know Android Studio allows you to do this very easily, and I was wondering if there was a similar solution for ios development. Thanks for any help!

1 answer

  • answered 2018-08-14 14:55 Duyen-Hoa

    No, you can't.

    There is also no SMS application (Message app) installed in the simulator.

    If you just need some notification displayed in your simulator, you can try to schedule a local notification from your app that is running under that simulator. You can find many tutorial online, like this: