I have a simple UIButton
that i want to change its image with animation.
What happens is that it changes right a way, without delay or animation :
[UIView animateWithDuration:1.5
delay:2.0
options: UIViewAnimationOptionCurveEaseInOut
animations:^{
[button setImage:darkCellimg forState:UIControlStateNormal];
}
completion:^(BOOL finished)
{
}];