开发者

send message automatically without the user interaction [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicates:

How to programmatically send SMS on the iPhone?

How to send SMS from an iPhone app without opening the SMS interface?

I need that my application could to send message automatically without the user interaction.

This is possible? I read something abou开发者_JAVA百科t smslib but is developed in java.

Is there any framework accepted by apple for to do this?

thanks for your time in advance...


No, that's not possible. You have to use the MFMessageComposeViewController to get your application accepted by Apple.


You can't do that but you can prepopulate the email so they only have to press send. Have a look at the MFMessageComposeViewController.


Jose, I am HOPING that by "no user interaction" you mean the user does not need to see the MFMessageComposeViewController and actually push "Send" again.

In the event that you are having them fill out a form, and then click "Send" and wanting the app to actually send at that time without having to show the MFMessage Controller, then YES this can be done.

Take a look at my answer on a related question, it is the "accepted" one. Follow the steps and this will help you solve your problem. AGAIN, you should ONLY use this if the user knows you are sending an email, otherwise your app will be rejected.

Locking the Fields in MFMailComposeViewController

Good luck and happy coding!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜