I am wondering if what is the best way to make my animation from in a series of path at one go. I am only able to path it in one way.
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:1];
[UIView animateWithDuration:5
delay:7
options:UIViewAnimationOptionRepeat|UIViewAnimationOptionAutoreverse
animations:^{faceAni.transform = CGAffineTransformMakeTranslation(40, 80); }
completion:^(BOOL fin) {
if (fin) {
faceAni.transform = CGAffineTransformMakeTranslation(80, 40);
}
}
];
Suggestions?