开发者

sample code for pause action for MPMovie player in iPhone sdk

I am doing an application using MPMovie Player. In that I want to incl开发者_C百科ude code to pause the playing movie. Can anyone suggest a solution for this?


The MPMoviePlayerViewController class implements the MPMediaPlayback protocol (see the Apple Developer docs here) so you can use the 'pause' instance method declared here to pause the movie programmatically.


use the function

[player pause];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜