I have a UIImageView added as a subview. I am trying to animate it using transform. The animation doesn't, however the imageview is Scaled properly, it's just not auto reversing. Am I doing something wrong?
UIImageView * iv_tap = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"gesture_tap"]];
iv_tap.center = point;
iv_tap.tag = 779;
iv_tap.hidden = true;
[UIView animateWithDuration:2.0
delay:.05
options: UIViewAnimationOptionAutoreverse | UIViewAnimationOptionRepeat | UIViewAnimationOptionCurveLinear
animations:^{
iv_tap.transform = CGAffineTransformScale(CGAffineTransformIdentity, 1.8, 1.8);
}
completion:NULL];
[self addSubview:iv_tap];