title: MFMailComposeViewController model does not display
body: <p>I am presenting MFMailComposeViewController in my app for Email. 
  But the view is not getting disply , only upper SEND and CANCEL buttons getting displayed.</p>
  
  <p>This is the screen shot of view that is getting display after clicking on "Email to Subscribe" button.</p>
  
  <p><img src="https://i.stack.imgur.com/M0bIZ.png" alt="enter image description here"></p>
  
  <p>I have checked out all the related codes. I have added "MessageUI" framework and imported  </p>
  
  <pre><code>MessageUI/MessageUI.h , MessageUI/MFMailComposeViewController.h
  </code></pre>
  
  <p>I have used following code :</p>
  
  <pre><code> - (void)viewWillAppear:(BOOL)animated {
  
       [self.view setFrame:CGRectMake(0, 62, 320, 418)];
  
       [APPDELEGATE.window addSubview:self.view];
  
       [self.navigationController.navigationBar setHidden:NO];
       self.navigationItem.title=@"Free Subscription";
       [super viewWillAppear:animated]; }
  
  
   -(void)viewWillDisappear:(BOOL)animated {
       [self.view removeFromSuperview];
       [super viewWillDisappear:animated]; }
  
  
  
       -(IBAction)btnEmailPressed {
           MFMailComposeViewController* Apicker = [[MFMailComposeViewController alloc] init];
           if (Apicker != nil)
           {
  
           [Apicker setSubject:@"Free Subscription"];
  
           [Apicker setMessageBody:@" " isHTML:NO];
  
           NSArray *toRecipients = [NSArray arrayWithObjects:@"info@xyz.com", nil];
           [Apicker setToRecipients:toRecipients];
  
           Apicker.mailComposeDelegate = self;
  
           if([MFMailComposeViewController canSendMail])
           {
               [self presentModalViewController:Apicker animated:YES];
           }
           else
           {
  
           }
           [Apicker release];
       } }
  
  
       -(void)mailComposeController:(MFMailComposeViewController *)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError
       *)error{
  
       NSString *message;
  
       switch (result) {
           case MFMailComposeResultCancelled:
               message =@"You have canceled your email.";
               break;
           case MFMailComposeResultFailed:
               message=@"Your email is failed";
               break;
           case MFMailComposeResultSent:
               message=@"Your email was successfully sent.";
               break;
           case MFMailComposeResultSaved:
               message=@" Your email has been saved";
               break;
  
           default:
               message=@" Your email is not send";
               break;
       }
       UIAlertView *alt=[[UIAlertView alloc]initWithTitle:@"" message:message delegate:self cancelButtonTitle:@"Ok" otherButtonTitles:nil, nil];
  
       [alt show];
       [alt release];
  
       [self dismissModalViewControllerAnimated:YES];
        }
  </code></pre>
  
  <p>I could not get the reason for this problem.</p>
  
  <p>Thanks.</p>