i m 写一纸,在你向纽特州施压时, but子在0至10秒之间随机残废,此后,纽特州再次活跃。 然而,虽然纽芬兰语是残疾的,如果用户点击,那么点击似乎只是被点上,等待着纽子,然后才能进行点击。 如何区分用户,而不是预先点击用户?
-(void)buttonPressed{
NSLog(@"Button pressed!");
button.userInteractionEnabled=false;
sleep(rand()%10);
progLabel.text=@"button is enabled!";
button.userInteractionEnabled = true;
}