How to give 'image' Animations to
multiple images
atDifferent Locations
in a 'UIView'?
1) I had 3 images.
2) i want to Add these 3 Images
at 3 different locations
animatedly, means add one by one images animatedly
with some duration
??
How can I achieve this?
Lets say 3 views are
_redView
,_greenView
and_blueView
check out following method to move those from one to another location. I have used random location you can give specific if you want. Here you can have working example of it just selectViewAnimationsTest
project of the work space and run.As per your requirement you want to animate image one by one
for that purpose use completion block of first image animation to animate second image and so on like below code
It will Help you :)
Probably the easiest way to do this is to use 3 animations called with delay.
Where myViews is array of views to be animated, frameForViewAtIndex: is the method that returns frame for corresponding view.