我尝试下面的代码:如何以时间间隔字母更改标签文字颜色?
[NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(myTimerMethod:) userInfo:nil repeats:NO];
-(void)myTimerMethod:(NSTimer*)timer
{
label.textColor = [UIColor colorWithRed:0.5 green:0.5 blue:0.22 alpha:1.0];
}
,但我希望像下面的图像类型而改变颜色。
你的问题还不清楚。你发布的代码发生了什么,你究竟想要什么? – rdelmar