title: iOS In App SMS View Not Showing
body: <p>I have a fairly simple question and it might be posted else where but I cannot find it.</p>
  
  <p>I am using this code in a switch statement to produce an MessageUI to send a text message. </p>
  
  <pre><code> case 1:
           if([MFMessageComposeViewController canSendText])
           {
               MFMessageComposeViewController *controller = [[MFMessageComposeViewController alloc] init];
               controller.messageComposeDelegate = self;
               controller.body = @"Hello from iOS App!";
               controller.recipients = [NSArray arrayWithObjects:@"18009998888", nil];
               [self presentModalViewController:controller animated:YES];
           }
   NSLog(@"SMS");
   break;
  </code></pre>
  
  <p>But instead of producing a text message View Controller, I get this view, <a href="http://img594.imageshack.us/img594/7624/screenshot20130302at931.png" rel="nofollow">http://img594.imageshack.us/img594/7624/screenshot20130302at931.png</a></p>
  
  <p>What am I doing wrong? Am I missing a step in the process.</p>