开发者

Player for iPhone Programming?

I am using AVAudioPlayer in my program, but having touble in something

I have 10 sounds, and as I click one to play or th开发者_运维技巧en others don't stop, I tried to solve by

[myPlayer stop];
myPlayer = nil;

it works, but takes time, so what should I do to stop when it click 2nd row on tableview for playing another sound?

If any query regarding question, you may ask in comments,


I think You hae added some observer before calling, [myPlayer play];... So you have to remove those observer

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜