So I can't find any documentation on how to do this, maybe someone knows what's going on here.
I'm in a UITableView (with a UINavigationController) in my application, and launching a UIWebView that loads an mp3 file on the internet by pushing the Web View's controller onto the navigation controller's stack. This works great, the file launches and plays in the quicktime player that Safari uses.
The problem is that once the audio file is finished playing, or the user clicks the done button, the player is released and the app goes back to an empty webView with my navigation bar. I can hit the back button to get back to my original UITableView, but that blank screen is ugly and needs to go.
So, what action can i use to put a [webviewcontroller.navigationcontroller popviewcontroller] message in? Is it loading an instance of some other class (like AVAudioPlayer) to play the audio? Do i need to subclass something? Apple's documentation on how it plays audio in UIWebView is basically nonexistant.