title: How to force UIImagePickerController to record video in landscape mode
body: <p>I my application is running potrate mode but I want to record video in landscape mode.</p>
  
  <pre><code>    self.imgPicker = [[UIImagePickerController alloc] init];
          self.imgPicker.editing=FALSE;
          //self.imgPicker.allowsImageEditing = YES;
          self.imgPicker.delegate = (id)self;
  
          [self.imgPicker shouldAutorotateToInterfaceOrientation: UIInterfaceOrientationLandscapeRight];
          //self.imgPicker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
      #if !(TARGET_IPHONE_SIMULATOR)    
          self.imgPicker.sourceType = UIImagePickerControllerSourceTypeCamera;
      #endif
  imgPicker.sourceType=UIImagePickerControllerSourceTypePhotoLibrary;
              NSArray *mediaTypesAllowed = [NSArray arrayWithObject:@"public.movie"];
              [imgPicker setMediaTypes:mediaTypesAllowed];
              [self.imgPicker shouldAutorotateToInterfaceOrientation: UIInterfaceOrientationLandscapeRight];
              [self presentModalViewController:imgPicker animated:YES];
  </code></pre>
  
  <p>I want to load <code>UIImagePickerController</code> in landscape mode by default.</p>
  
  <p>Please guide me how to do the same.</p>