Overview
Returns the UIDeviceOrientation corresponding to the specified UIInterfaceOrientation.
For landscape mode, device orientation is the opposite to the UI orientation (Left <=> Right),
otherwise the device orientation is the same as the UI orientation.