iOS: Put back the comment code to get the device orientation for reference