I'd like to be able to send开发者_运维技巧 text messages in my app on iOS. I know that I have to use the MessageUI framework. My question is if it is possible to automate the process, of sending, say 100 text messages at once, while modifying the message ever
iPhone apps have absolutely no access whatsoever to SMS (without using private auto-reject calls), no sending, no intercepting received messages, no reading what messages on on the device. You can set up messages for the user to send, but you can't send anything automatically.
I wouldn't advise doing so.
But if you did, I would advise doing it through your own SMTP client, as opposed to using the Messaging UI.
SMTP is a very simple protocol, or you can use an existing library, like http://code.google.com/p/skpsmtpmessage/
精彩评论