0
2 초 후 어떻게 자동으로 사운드를 재생할 수 있습니까?xcode에서 지연 후 사운드를 재생하는 방법
2 초 후 어떻게 자동으로 사운드를 재생할 수 있습니까?xcode에서 지연 후 사운드를 재생하는 방법
당신이
- (void)playSomeSound:(NSTimer *)timer {
// Your sound playing code goes here
}
[NSTimer scheduledTimerWithTimeInterval:2 target:self selector:@selector(playSomeSound:) userInfo:nil repeats:NO];
에 대한 타이머를 사용합니다