MPMoviePlayerController在其工具栏上有一个自定义按钮
你可能已经在iPhone中观看了视频。
You might have seen video through you tube in iPhone.
普通MPMoviePlayerController有上一个,下一个&播放/暂停按钮。
Normal MPMoviePlayerController has previous, next & play/pause buttons.
你管 - 玩家还有两个按钮。
You tube - player has additional two buttons on it.
=>添加到左侧收藏。
=> Add to favorites on the left side.
=>在右侧通过电子邮件发送此视频。
=> Email this video on right side.
我想实现同样适合我的申请。
I want to implement the same for my application.
但是我没有找到有关的财产或方法 - 实施这个。
But I am failed to find out the property or methods regarding - implementing this.
我如何需要按钮?
- 当用户观看视频时,屏幕上不应该有按钮。
- 当用户点击视频时 - 工具栏位于顶部&在中心
- 中心工具栏一般有三个按钮,上一个 - 下一个 - 播放/暂停
- 我想在旁边添加一个按钮按钮&上一个按钮。
- When User is watching video there should no buttons on screen.
- When user taps on video - a toolbar comes on top & at center
- A center tool bar has generally three buttons on it ,Previous - next -play/pause
- I want to add a button beside next button & previous button.
我认为你不能修改Apple提供的界面视图。
一般方法是播放视频,然后在完成后,显示带有所需按钮/和/或用户选项的视图。
I don't think you can modify the interface of an Apple provided view.
The general approach would be to play your video and then after it's done, show a view with the desired buttons/and or options for the user.
iPhone上的YouTube应用程序可以看到这方面的一个例子。播放YouTube视频后,用户将被发送到摘要视图,其中包含再次观看视频,收藏视频,分享视频等链接。
An example of this can be seen with the YouTube app on the iPhone. After the youtube video plays, the user is sent to a summary view with links to watch the video again, favourite it, share it, etc.