我想在我的标签上执行淡出然后淡入,我可以让两者分开工作,但不能一起工作。
[UILabel animateWithDuration:1.0 animations:^{
_swixValla.alpha = 0.0;
_skigoValla.alpha = 0.0;
_rodeValla.alpha = 0.0;
_startValla.alpha = 0.0;
}];
[UILabel animateWithDuration:1.0 animations:^{
_swixValla.alpha = 1.0;
_skigoValla.alpha = 1.0;
_rodeValla.alpha = 1.0;
_startValla.alpha = 1.0;
}];
这不起作用
[UILabel animateWithDuration:1.0 animations:^{
_swixValla.alpha = 0.0;
_skigoValla.alpha = 0.0;
_rodeValla.alpha = 0.0;
_startValla.alpha = 0.0;
[UILabel animateWithDuration:1.0 animations:^{
_swixValla.alpha = 1.0;
_skigoValla.alpha = 1.0;
_rodeValla.alpha = 1.0;
_startValla.alpha = 1.0;
}];
}];
这也不起作用。
我该如何解决这个问题?