Search code examples
iphoneobjective-cuiimagepickercontrollersubclassautorotate

How do i make my UIImagePickerController auto rotate?


I tried to sub class the UIImagePickerController and return YES from shouldAutorotateToInterfaceOrientation But this didn't work


Solution

  • According to documentation

    Important: The UIImagePickerController class supports portrait mode only. This class is intended to be used as-is and does not support subclassing.

    So I don't think your approach is going to work.