The problem is this:
- I put the simulator in landscape
- I start the app
- The app is unable to detect the correct orientation, always unknown!
I have created a sample project that demonstrates the problem I have.
Take it here
How can I solve that?
thanks
This isn’t a bug; just use the interfaceOrientation property of your UIViewController to get the current orientation. That property is always set at app startup.
I recently wrote a blog post on this issue:
http://bynomial.com/blog/?p=25