ADFlipTransition icon indicating copy to clipboard operation
ADFlipTransition copied to clipboard

Only Works Properly In Landscape - iOS 7 Compatibility Issues

Open alexsaidani opened this issue 11 years ago • 4 comments

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.

alexsaidani avatar Oct 08 '13 16:10 alexsaidani

Actually, it's not just this, I think it's iOS 7 compatibility issues rather than simply portrait orientation issues.

alexsaidani avatar Oct 10 '13 00:10 alexsaidani

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]; }

alexsaidani avatar Oct 10 '13 01:10 alexsaidani

I have issue in landscape but not portrait in my case.

jcampbell05 avatar Dec 03 '13 22:12 jcampbell05

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.

markkrenek avatar Dec 27 '13 01:12 markkrenek