On 21 Oct 2011, at 7:31 AM, John Love wrote:

> I discovered that I cannot use the AVAudioPlayer methods for playing a 
> streamed audio file because this class only supports embedded audio (file:// 
> links).  OK, so I use the UIViewController method:
> 
> - presentMoviePlayerViewControllerAnimated:myMPMoviePlayerController
> 
> That works well, except that I have the lyrics showing in my UIView and this 
> method totally hides the lyrics and shows the usual ((Q)) Quicktime logo and 
> the Done button.
> 
> So, instead I call:
> 
> [moviePlayerController_ setControlStyle:MPMovieControlStyleNone];
> 
> and the lyrics continue to show, with the audio playing in the background as 
> I want, but then I lose total control of audio playback.

Does AVPlayer do what you want? You'll have to provide your own controls, but 
you get the total control you're looking for.

        — F

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to