2011-03-02 67 views

回答

3

你可以使用一个计时器的

- (void)playSomeSound:(NSTimer *)timer { 
    // Your sound playing code goes here 
} 

[NSTimer scheduledTimerWithTimeInterval:2 target:self selector:@selector(playSomeSound:) userInfo:nil repeats:NO];