开发者

Creating a view overlay over MPMoviePlayerViewController

I am developing an app that plays internet radio. Owing to my lack of skill, i have only used the stock MPMoviePlayerController. This is so far been able to play a few m3u streams (like the 'feeling floyd' station)

However, i was wondering if there was any way to have this MPMoviePlayerViewController to show me extra information.. like the song that is playing (which information i was able to extract form teh metadata.)

I can get this information all right, but how do i put it on the screen? Can I make an overlay or something? (the centre of the MPMovieplayer is taken up by the quicktime background... it would be great if i could use an overlay on this space to show current music information or whatever.)

Is this overlay thin开发者_运维技巧g possible? if not, is there any other way?

Thank you very much! V


If you want your own custom view over the player you can add it as a subview to the player's view as [player.view addSubview:yourView];


Get the moviePlayer property of MPMoviePlayerViewController. I think you should be able to to do this [moviePlayer.view addSubview:myView].

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜