Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
AVAudioPlayer が関数内でサウンドの再生を終了したかどうかを確認するにはどうすればよいですか?
関数内からobj-cブラケット構文を使用できるはずなので、実際には「関数経由」を意味していると[myAudioPlayer isPlaying]思います。
[myAudioPlayer isPlaying]
私の仮定が正しければ、これとこれを読む価値があるかもしれません。次に、次のことが意味をなします。
objc_msgSend(myAudioPlayer,@selector(isPlaying:));