Im trying to detect orientation changes in a UIImagePickerController (it inherits from UINavigationController : UIViewController : UIResponder : NSObject) and I tried override the method - (BOOL)shouldAutorotateToInterfaceOrientation (UIInterfaceOrientation)interfaceOrientation in UIViewController but no success…
any tips?
Thanks in advance…
Subclassing UIImagePickerController is not supported!
Maybe you could register for
UIDeviceOrientationDidChangeNotificationfromUIDeviceand use this?