I am trying to make a label change when other 2 labels change. The 2 labels constantly change randomly.
Here's the code:if ([labes.text 开发者_开发问答isEqualToString:@"haha"] && [alizz.text isEqualToString:@"hoho"]) {
laab.text = @"hello";
}
Maybe refreshing every 0.0005 seconds will work?
How you are changing other two labels? you can add some function that update you third label just after updating the other two.
You Can try nstimer for call method in time intervel.
精彩评论