Fix small rotation issue

This commit is contained in:
Yann Diorcet 2012-08-22 12:11:41 +02:00
parent 72302707ec
commit 2ef68adf49

View file

@ -333,7 +333,7 @@
if(currentOrientation == UIDeviceOrientationUnknown) {
return [UIApplication sharedApplication].statusBarOrientation;
}
return currentOrientation;
deviceOrientation = currentOrientation;
}
if (UIDeviceOrientationIsPortrait(deviceOrientation)) {
if ([currentViewDescription portraitMode]) {