I would like to know what is the name of the functionality that is used in the Ipad’s Music folder, where when an album folder is clicked, details regarding that album pops up in an animated view.
I tried using presentModelViewController but its functionality is different.
It would be great if someone could help me out.
I just managed to get sth. like this to work using CoreAnimation / QuartzCore Framework…
be sure to
when you want to animate, use CATransform3Dand the poorly documented CATransform3D.m34 property. this will do the first half of the animation (assuming 200×200<->450×450 with 180° rotation):
for the second half of the animation, you have to add/remove your view to the hierarchy. this example shows hiding/showing of a view that already exists as a subview of
someView, it also makes use of aBOOL isUpinstance variable (the first half of the aniation is independent of the isUp-flag!)one last thing: everything in your view will appear mirrored, it might not be the ideal solution, but mirroring back by applying a
CGAffineTransformto the subview does the trick:i’m alredy a month late with this solution but i hope it helped someone 🙂
i first tried using the animateWithDuration:animations:completion: block-based API but that turned out to lag heavily (no smooth first/second-half animaiton even without touching subviews).