title: How can I display mail composer in landscape mode by using MFMailComposeViewController in cocos2d?
body: <p>I am writing a game in cocos2d. I want to add MFMailComposeViewController to the scene. 
  So, when I touch a CcLabel in the scene the mail sheet is opened.   </p>
  
  <pre><code>@interface EmailScene : CCScene &lt;MFMailComposeViewControllerDelegate&gt;
  {
      MFMailComposeViewController *picker;
  }
  
  -(void)displayComposerSheet;
  
  @end
  
  @implementation EmailScene
  
  - (id) init {
  
      self = [super init];
      if (self != nil) {
          [self displayComposerSheet];
      }
      return self;
  }
  -(void)displayComposerSheet
  {
  
      [[CCDirector sharedDirector] pause];
      picker = [[MFMailComposeViewController alloc] init];
      picker.mailComposeDelegate = self;
  
      NSArray *toRecipients = [NSArray arrayWithObject:@"srikanth.rongali786@gmail.com"]; 
  [picker setToRecipients:toRecipients];
  
      [[[CCDirector sharedDirector] openGLView] addSubview:picker.view];
      [[CCDirector sharedDirector] stopAnimation];
  }
  - (void)mailComposeController:(MFMailComposeViewController*)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError*)error
  {
      [[CCDirector sharedDirector] resume];
      CCScene *Scene = [CCScene node];
      CCLayer *Layer = [GameWinScreen node];
      [Scene addChild:Layer];
  
      [picker.view removeFromSuperview];
      [[CCDirector sharedDirector] startAnimation];
      [picker dismissModalViewControllerAnimated:YES];
      [[CCDirector sharedDirector] replaceScene:Scene];
  }
  
  @end  
  </code></pre>
  
  <p><a href="http://www.freeimagehosting.net/uploads/4a77b9ceb9.png" rel="nofollow noreferrer">alt text http://www.freeimagehosting.net/uploads/4a77b9ceb9.png</a></p>
  
  <p>But, the problem is my game is in landscape mode. So, I need the mail sheet to display in landscape mode. But, here the mail sheet is displayed in portrait mode. And the keyboard is appearing in landscape mode. But, the mail composure sheet is in  portrait  mode.  </p>
  
  <p>And how can we change the "sent from my iPhone" to "Sent From My iPad"  </p>
  
  <p>Thank you.</p>
  
  <p><a href="http://www.freeimagehosting.net/uploads/3eb39ea1de.png" rel="nofollow noreferrer">alt text http://www.freeimagehosting.net/uploads/3eb39ea1de.png</a></p>