Does anyone know how to get attributes from a file associated with an AVAudioPlayer instance. In particular, I look at how to determine the length of a WAV file.
If you need a length in seconds, you audioPlayer.durationshould do it.
audioPlayer.duration