AudioPlayer在Xcode中快进

时间:2012-10-30 14:55:57

标签: ios audio

有没有办法通过x2,x4等使用按钮快进音频文件?如果没有,你知道这怎么可能吗?

1 个答案:

答案 0 :(得分:0)

NSTimeInterval *timeIntervel = [yourPlayer currentTime];
timeIntervel = timeIntervel + timeToForword;
[yourPlayer setCurrentTime:timeIntervel];    
[yourPlayer play];