CATransition animation causes screen to black out

Use the CATransition animation to let the user scroll through the pages of a tutorial.


Now in iPadOS 13.6 beta 2 this causes screen to black out for a second before the next page is shown.

Does not happen with kCATransitionFade but will all other animation types.

I use the kCATransitionPush with subtypes kCATransitionFromRight and kCATransitionFromLeft.


Code:


CATransition *animation = [CATransition animation];
[animation setDuration:0.4];
[animation setType:kCATransitionPush];
[animation setSubtype:kCATransitionFromRight];
[animation setTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]];
[[slidingView layer] addAnimation:animation forKey:nil];
Fixed in beta 3.

Thank you!!
CATransition animation causes screen to black out
 
 
Q