Good day. Guys, I can't figure out the color change animation for UILable.
[UIView animateWithDuration:6.0 animations:^{ self.view.backgroundColor = [UIColor blackColor]; lblName.textColor = [UIColor grayColor]; }];
In this code, smoothly, in 6 seconds I change the background, from any color to black, and it changes smoothly. I also wrote about replacing colors for UILable text and, logically, it should also change smoothly.
But in fact it turns out that UILable instantly changes color. And the background is gradually.
Help to deal with this misfortune!