开发者

iOS: MPMoviePlayer, remove from its superview

Once added, I would like to know if it is possible to remove a movie player from its superview. I've searched a lot but I haven't fo开发者_Go百科und any solution yet. In particular, I would remove the player when the user tap on end button.

Any suggestions?


Maybe you could use code like this :

[thePlayer.view removeFromSuperview];


[videoPlayer stop];
[videoPlayer removeFromSuperview];

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜