0

I want to set the iPad camera app orientation to only portrait mode. From the viewController we'll put it in landscape mode most of the time. Is there a way we can set the camera mode to only portrait? Like:

imagePickerController setOrientation: UIInterfaceOrientationPortrait

Thanks in advance.

tipsywacky
  • 3,374
  • 5
  • 43
  • 75

1 Answers1

3

I don't think we can control orientation of camera.Its orientation property is inbuilt,which changes with orientation of device.

Orientation of picker is read only property.

Please correct me,if i am wrong

raja
  • 194
  • 2
  • 9
  • actually i just got an idea, maybe we can put the camera in another viewController and fix the orientation. would that work? – tipsywacky Jul 12 '12 at 13:40
  • 2
    check this thread ,probably it can help u http://stackoverflow.com/questions/2083672/uiimagepickercontroller-in-landscape – raja Jul 13 '12 at 05:59