Reputation: 3545
I like make my own iMessages message app. The app is basically ready but I dont know how to send iMessages without showing the MFMessageComposeViewController. I know that there is a way. They are using it in ByteSMS and all the other Message.app alternatives.
So is there a way to do so?
Thanks for any answer!
It shouldn't be submited to the Appstore. The app should be submited to Cydia or other 3rd party Stores.
Upvotes: 3
Views: 1819
Reputation: 35
you can't do this I tired to send message in background using CTmessageCenter it works for me but apple rejected my app due to using Private Framework (CTmessagecenter)
So if you want to do this and wants to upload app on appstore the only way is to do use 3rd party webservice
if you dont want to upload appstore then you can use CTmessagecenter that will surely works for you
#import <CoreTelephony/CTMessageCenter.h>
[[CTMessageCenter sharedMessageCenter] sendSMSWithText:@"Your Message here" serviceCenter:nil toAddress:@"Receiver's Phone Number here"];
here is another post may be this is what you are looking for Send sms using core telophony?
Upvotes: 2