Check iOS orientation with macro UIDeviceOrientationIsLandscape(orientation)