UITabBar app and button that plays music in a tab
<p>I have an instance of AVAudioPlayer running inside one of my tabs. It is activated through an IBAction. </p>

<p>I would like the music to stop when a user clicks on another tab. </p>

<p>How would I go about doing this?</p>

<p>I've tried theAudio.stop; in viewDidLoad, but that didn't work.</p>
