Update to status bar orientation, not the actual device orientation
Update to status bar orientation, not the actual device orientation

This is what programmers really want, for example to setup their views.

The first one had the effect of returning YES, if you had your iphone landscape and then put it portrait upside down, and the application has upside down locked.

My fix returns landscape (as the UI still is landscape), where the original code returned portrait.
ConventionalC/ConventionalC,ConventionalC/ConventionalC