I’m writing an app which can test different SMSC (Short Message Service Centers) from an operator. Therefore I need to change the SMSC the iPhone is using for sending SMS. Is there a way doing this ?
Android offers an sendMessage method with the SMSC as an parameter, is there a equivalent in iOS ? I don’t care if it’s using private API Calls since I won’t release my app anyway (just for internal testing purposes). Any help appreciated, thanks.
This solution works on non-jailbroken phones, but it will not get in the app store.
It uses private API’s and it’s very similar your description of Android’s sendMessage.
You’ll have to link your project the CoreTelephony framework (public now), and create the header described bellow. There’s and example included too.
CTMessageCenter.h:
Example: