I noticed that I find a very intermittent orientation on my device and simulator.
I have a modal view controller that I present, and this is the only thing in my application that supports rotation.
If I started the application in portrait without moving the device, open the trendy VC and then rotate the device, it usually works. However, sometimes, if I open the application that holds the device in the landscape, then I turn to the portrait, start VC, and then turn the device, without turning. It seems very choppy. Sometimes, if I launch the application in portrait mode, and then open the VC and rotate the device, nothing happens, and until I leave and restart it, there will be no orientation in the application.
This is strange because it works 50% of the time! Whenever I run it through Xcode and set breakpoints in shouldAutorotateToInterfaceOrientation, it always works!
Has anyone ever had this or knew what was going on?
source
share