This question is already an answer here
- 18 answers
I am an iOS developer For the demanding service in the ios messaging API, I did run through the internet and found that functionality in other potential domains such as Java, php, android but not in iOS Sector.so, you send messages to me for You can tell the solutions for the SMS API, other mobile
Note that you do not automatically update user information You can send SMS without You can include the user & amp; After that it should work ...
Sending an SMS to iOS is very simple. You will need action, we have 2 representative methods below - to create one's own SMS; . Other When the control comes back to you after the user's operation
- (zero) SendSMS: (NSString *) bodyOfMessage recipientList: (NSArray *) Recipients {MFMessageComposeViewController * Controller = [[[ MFMessageComposeViewController Alloc] init] autorelease]; If ([MFMessageComposeViewController canSendText]) {controller.body = bodyOfMessage; Controller Recipient = Recipient; Controller MessageCompany = self; [Self current model view controller: animated controller: yes]; }} - (zero) messageComposeViewController: (MFMessageComposeViewController *) controller didFinishWithResult: (MessageComposeResult) Results {[self-dismissModalViewControllerAnimated: Yes]; NSLog (@ "Message Sent") and NSLog (@ "Message Failed"}} P> To get you started online Online tutorials are full codes here Hope it helps ...
No comments:
Post a Comment