如何让我的UIImagePickerController自动旋转?

use*_*254 1 iphone subclass objective-c uiimagepickercontroller autorotate

我尝试子类UIImagePickerController并返回YES shouldAutorotateToInterfaceOrientation但是这不起作用

Bal*_*a R 5

根据文件

重要说明:UIImagePickerController类仅支持纵向模式.此类旨在按原样使用,不支持子类化.

所以我认为你的方法不会起作用.