Is there a way to programmatically check if the iPods orientation lock is enabled before a rotation happens?
For example, if a user was to click a button could we check if the orientation lock was on to alert them that it must be off before an action happens on the click.