Open twhitbeck opened 10 years ago
Ah, good point, my test app doesn't use landscape. I'll look into this, although if you find a fix, I'm happy to receive a submission.
Hi,
I'm using the PanAnimationController but noticed the magic number of 320. Is this referring to the width of iPhone 2/3/4/5? Running my app with the library, the presented viewcontroller starts and ends abruptly at the 320px point. That would also explain why the OP is having problems with landscape mode.
It really should be taking into account the width of the device's screen.
In landscape the pan animation still only moves the portrait width of the screen. I'm using it to pan between viewcontrollers in a UITabBarController.