I was poking around stackoverflow trying to figure out how to do a curl up animation on a layer when I ran into this post: CATransition page curl from top
The author of the post used a constant string ‘pageCurl’ to define the animation type:
animation.type = @"pageCurl";
When looking in the apple documentation for transition animation types only the following types are listed:
NSString * const kCATransitionFade;
NSString * const kCATransitionMoveIn;
NSString * const kCATransitionPush;
NSString * const kCATransitionReveal;
Did I miss something? Why isn’t the curl up transition listed? I tested using “pageCurl” as a transition type in my program and confirmed that it works!
If they’re not listed, Apple doesn’t want you using them. If you use them, you might get rejected from the app store.
Why doesn’t Apple want you using them? They haven’t said, but we can speculate:
They want their apps to look better, or at least different, than third-party apps.
They haven’t settled on the final forms of those transitions yet so they don’t want developers relying on them yet.
The transitions require too much battery or CPU, so they want to limit their use.