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!
This class is intended to be used as-is and does not support subclassing.
Maybe you could register for UIDeviceOrientationDidChangeNotification
from UIDevice
and use this?