目前警告视窗出现的次数是用这个方法
if (StartGame.hidden==YES) {
UIAlertView *alert = [[UIAlertView alloc]
initWithTitle:@"Moving Stopped"
message:@"Finger has been lifted off the screen."
delegate:nil cancelButtonTitle:@"OK"
otherButtonTitles: nil];
[alert show];
}
有办法可以算出目前警告视窗出现了几次吗?
还是有办法计算button按过的次数呢?
谢谢各位大大