I am trying to revive a property backgroundColorof the UILabel class and have not yet succeeded. Here is a snippet of my code
-(void) blink {
UIColor* originalColor = lblDescription.backgroundColor;
lblDescription.backgroundColor = [UIColor yellowColor];
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:1.0];
lblDescription.backgroundColor = originalColor;
[UIView commitAnimations];
}
I found some allegations that some UILabel properties are not animated, but I could not confirm this assertion by reading Apple docs. I was wondering if anyone could shed some light on this issue.
source
share