Search code examples
iphonecameraorientationlandscape

iPhone UIImagePicker Camera in Landscape Orientation


Is there any good way to set UIImagePicker to landscape orientation? I tried to call setStatusBarOrientation after presentModalViewController like following,

[self presentModalViewController:picker animated:YES];

[[UIApplication sharedApplication] setStatusBarOrientation: UIInterfaceOrientationLandscapeRight animated: NO ];

However, the video duration view (00:00) on the right corner didn't rotate as orientation changed.


Solution

  • Unfortunately, according to the documentation, the image picker only supports portrait mode.