我使用这段代码,但在音频行处出现编译错误。有人知道原因吗?
- (void)handleTimer:(NSTimer *)timer
{
self.counter--;
self.timerLabel.text = [NSString stringWithFormat:@"%ld", self.counter];
if (self.counter == 0)
{
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
}
}