Created
February 25, 2013 21:14
-
-
Save fcrespo82/5033378 to your computer and use it in GitHub Desktop.
Open SMS compose window with prepopulated number and body
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MFMessageComposeViewController *picker = [[MFMessageComposeViewController alloc] init]; | |
picker.messageComposeDelegate = self; | |
picker.recipients = [NSArray arrayWithObject:@"48151623"]; | |
picker.body = @"Body text."; | |
[self presentModalViewController:picker animated:YES]; | |
[picker release]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment