目前警告視窗出現的次數是用這個方法
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按過的次數呢?
謝謝各位大大