I am using MPMoviePlayerController to play an audio stream. My code follows an example:
http://iosdevelopertips.com/video/getting-mpmovieplayercontroller-to-cooperate-with-ios4-3-2-ipad-and-earlier-versions-of-iphone-sdk.html
Everything works fine, but while the stream is playing, there is no βdone" to close the player.
At first I tested it with a normal .mp3 file. Only with the file the opportunity that I found is to skip to the end, so the player receives an MPMoviePlayerPlaybackDidFinishNotification notification (but this will not work on an endless stream, since there is no time to skip to the end).
I tried various styles like [mp setControlStyle:MPMovieControlStyleFullscreen]; without any successful action.
In the MPMoviePlayerController Class documentation:
This class plays any movie or audio file supported in iOS. This includes both streaming content and fixed-length files.
Is it possible to display this button while playing some sound of content or has any other solution?
I tried to show you a screenshot, but "new users can publish a maximum of two hyperlinks."
source share