Open alexsaidani opened 11 years ago
Actually, it's not just this, I think it's iOS 7 compatibility issues rather than simply portrait orientation issues.
It's this line of code that causes the issue, not sure why it has been added to be honest.
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0f) { rect = [self switchRectOrientation:rect]; }
I have issue in landscape but not portrait in my case.
switchRectOrientation should only to be called when in landscape mode. Look at the other spot in -fullScreenRect where switchRectOrientation is used and you'll see the proper usage.
I'm running iOS 7 on iPhone 5, for some reason when I select a cell or press a button to flip it works perfectly in landscape mode however in portrait the flipped view is presented as it would be in landscape mode and is too far to the right, it is also the width of the view in landscape and the height of the view in landscape.