Skip to content

Instantly share code, notes, and snippets.

@fcrespo82
Created February 25, 2013 21:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fcrespo82/5033378 to your computer and use it in GitHub Desktop.
Save fcrespo82/5033378 to your computer and use it in GitHub Desktop.
Open SMS compose window with prepopulated number and body
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