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];
のためのタイマーを使用します