-3

エラーは次のとおりです。

- (void) subtractTime;
{
     seconds --;
     timerLabel.text = [NSString stringWithFormat:@"Time: %i", seconds];

     if(seconds == 0)
     {
         [timer invalidate];
         UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Time is up !"
                              message: [NSString stringWithFormat: @"You Scored %i points", count]
                              delegate:self
                              cancelButtonTitle: @"Play Again?"
                              otherButtonTitle:nil];
     }
}
@end
4

1 に答える 1