If you are asking how to tweak the animation here, you might need a snippet. Suppose the view "myView" is already added as a subview to the current view.
[myView setFrame:CGRectMake(0, 480, 320, 480)]; [myView setBounds:CGRectMake(0, 0, 320, 480)]; [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:1.0]; [UIView setAnimationDelegate:self]; [myView setFrame:CGRectMake(0, 0, 320, 480)]; [UIView commitAnimations];
Important numbers are the y positions in the setFrame rectangle (480, then 0), which moves it from screen to screen.
Nwcoder
source share