我已经实现了这样的警报:
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Time Over"
message:@"Player Two won!"
delegate:nil
cancelButtonTitle:@"OK"
otherButtonTitles:nil];
[alert show];
现在我想设置score = 0
按下“确定”的时间。有人可以帮助我吗?