I am trying to animate a UIView
here. It looks like a rectangle, and I just want to translate it to my coordinations.
So, how can I animate it? I tried to find some tutorials, but without success.
I am trying to animate a UIView
here. It looks like a rectangle, and I just want to translate it to my coordinations.
So, how can I animate it? I tried to find some tutorials, but without success.
In iOS 4, the UIView block animation method is easiest:
http://developer.apple.com/library/ios/documentation/uikit/reference/UIView_Class/UIView/UIView.html#//apple_ref/occ/clm/UIView/animateWithDuration:animations:
Here is an example of animating a view to move off screen. You should be able to slightly adjust it for your needs:
Working Fine definitely.
Use "QuartzCore.framework" With these animations.