shouldAutorotateToInterfaceOrientation isn't getting called
- by morgancodes
What sort of conditions might prevent my UIViewController's
shouldAutorotateToInterfaceOrientation method from being called?
I've resorted to using NSNotificationCenter to listen for UIDeviceOrientationDidChangeNotification events, but would love to get the autoRotation behavior working properly.
A couple shots in the dark about what's going wrong:
Maybe I'm not creating my view controller correctly? Maybe it needs to be inserted in the responder chain and somthething I'm doing is preventing that from happening normally? This seems unlikely to me since my view controller is recieving touch events.
Maybe the fact that the view contained by my controller relies on OpenGL has something to do with shouldAutorotateToInterfaceOrientation not getting called?
Do either of these sound remotely possible as being responsible? Any other ideas of things to look at?