iOS: Get the viewport orientation from the aspect ratio instead of the device orientation