I don't really like that flip-transition. It's boring. I'd like to see something cool, like water effect, fog, or whatever. Is there something available or do I have to (re)invent the wheel for that?
views:
1754answers:
2
+4
A:
The animation types available via [CATransition animation]
are:
kCATransitionFade
kCATransitionPush
kCATransitionMoveIn
kCATransitionReveal
@"suckEffect"
@"spewEffect"
@"genieEffect"
@"unGenieEffect"
@"rippleEffect"
@"twist"
@"tubey"
@"swirl"
@"charminUltra"
@"zoomyIn"
@"zoomyOut"
The transition types available via [UIView setAnimationTransition:forView:cache:]
are:
UIViewAnimationTransitionFlipFromLeft
UIViewAnimationTransitionFlipFromRight
UIViewAnimationTransitionCurlUp
UIViewAnimationTransitionCurlDown
rpetrich
2009-05-05 19:53:52
the first list is hidden API, right? What's apple gonna do when I use that? I'm pretty sure I've seen once an App using the rippleEffect. Exactly the same one from the foto app when watching the slide show (old iPod touch).
Thanks
2009-05-05 20:58:52
The transitions defined by kCATransition* (and their subtypes) are public, the others are hidden. If you don't want to use private APIs you can try animating the transform property of your CALayer to imitate some of the hidden transitions.
rpetrich
2009-05-05 21:06:13
Do you have experience using the hidden API transitions? Did Apple still accept them? I wonder if they would even be able to know that you use hidden api...
Thanks
2009-07-22 11:39:55
It's hit and miss from what I understand. I haven't used any private CATransitions in any of my apps, but there are definitely some up on the store that use them. It's a relatively safe private API to use because if you use a transition type that is unavailable, UIKit fails gracefully by showing a fade transition instead of crashing.
rpetrich
2009-07-22 21:19:46
Is Charmin Ultra a big (but soft and gentle) swiping movement?
Chris S
2010-03-31 14:40:13
+1
A:
The iPhone SDK comes with a whole bunch of built in animations. rpetrich listed some of them and I do believe that there are more.
For example using the UINavigationController class provides stock animation which, while simple, is quite effective.
Frank V
2009-05-05 19:58:21