Using a simple CGAffineTransformMakeScale
to make a pulsing label, I get an error when trying apply ease out options, delay etc on the second block? Without this I get jerky animation as im getting ease out on the increase and none on the return to the original size
[UIView animateWithDuration:1.0f delay:0 options: UIViewAnimationCurveEaseInOut|UIViewAnimationOptionAllowUserInteraction animations: ^{
[UIView setAnimationRepeatCount:10];
self.transform = CGAffineTransformMakeScale(1.1,1.1);
} completion:^(BOOL finished) {
[UIView animateWithDuration:1.0 animations:^{ // <<< "No known method for selector" error here if I add options
self.transform = CGAffineTransformMakeScale(1.0,1.0);
}];
}];