How to get a transition like a Star Trek app?
I changed my app's ViewTransitions to use kCAScrollHorizontally. I set up the transition in the application delegate to use kCATransitionPush and not kCATransitionFade. However, I am still fading away. How can I get a terrain slide view like the Star Trek app ( http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=305916616&mt=8 )?
a source to share
I have already done such transitions. Basically I have a large view that is taking up the screen, with another attachment (the actual screen content) embedded in it. When I want to navigate to a new page on the left or right, I will navigate to the next page of content, positioning it on the screen and embedding it in a large fallback view. Then I just animate (using a simple [UIView beginAnimations:context:]
one to change the borders of both pages at the same time (really just changing the origin of the frames). The on-screen view slides to where the current view is, and the current view slides to the off-screen position. Once on the screen, I'll remove his from his supervisor.Works like a charm.
a source to share