mpospese / MPFoldTransition

Easily add custom folding and page-flipping transitions to UIViews and UIViewControllers
http://markpospesel.com/2012/05/07/mpfoldtransition/
1.81k stars 238 forks source link

iOS8 bugs #22

Open jawj opened 9 years ago

jawj commented 9 years ago

Thanks for a great library.

I've just updated to iOS8 and I have a problem, though. On transitioning to a new view controller using - (void)presentViewController:flipStyle:completion:, I get a brief flash of the original view controller just following the transition. On transitioning back, the transition appears to complete in about 2 frames, so is barely noticeable.

I haven't yet tried investigating where this behaviour is coming from, but it was working beautifully on iOS7 ...

MattFedo commented 9 years ago

I am having the same exact issue. I am using the transition to do full screen transitions, so it is incredibly noticeable.

Has anyone taken a shot at this yet? Works perfectly on iOS7.

MattFedo commented 9 years ago

Could this be an issue since iOS8 is depreciating certain segue values? I am going through the source right now to see if I can find anything. We need to find a fix to this. Thanx peeps!

MattFedo commented 9 years ago

I've narrowed it down to the cleanupLayers function, in MPFlipTransition.m, when removing the animationView from the Superview. Every time this is called, the view flashes for a brief second on the simulator, but on the device it is longer.

MattFedo commented 9 years ago

Just a quick note: This only happens when assigning a segue between 2 UIViewControllers in a Storyboard or calling in line. When you use it with a UIView inside a UIViewController, there is no glitch.

mitchellporter commented 9 years ago

What's the status on this issue? Did you guys ever get these bugs fixed?