I've an array that includes 4 values which will be presented with 2 different UILabel. I'll group the values in pairs. In a specific second the label changes value with another item of pair recursively.
If it's possible, I want to give an animation something like fade out or maybe slide left/right effect.
I've looked some contents already, but nothing meant to me. For example here is a working animation (according to accepted answer):
[UIView animateWithDuration:1.0 delay:0.f options:(UIViewAnimationOptionAutoreverse| UIViewAnimationOptionRepeat) animations:^{ playerScore.alpha=1.f; } completion:^(BOOL finished){ playerScore.alpha=0.f; }]; I'm not sure where to put this code, in a seperate method or in viewDidLoad. Can anyone give clues and information? It would be great.