Hello,
I need to make an image view animate it's self on and off of the screen. I want it to be when the user taps the screen the image slides up. Is there a relatively easy way to smoothly move the image view?
Thanks for any help
Hello,
I need to make an image view animate it's self on and off of the screen. I want it to be when the user taps the screen the image slides up. Is there a relatively easy way to smoothly move the image view?
Thanks for any help
Use an animation block, e.g.
[UIView beginAnimations:@"slide-up" context:NULL];
imageView.center = CGPointMake(200, -100); // change this to somewhere else you want.
[UIView commitAnimations];
See the iPhone Application Programming Guide for detail.