【问题标题】:Working with AVKit AVPlayerViewController使用 AVKit AVPlayerViewController
【发布时间】:2015-10-20 06:53:19
【问题描述】:

我想从AVKit 了解更多关于AVPlayerViewController 的信息,比如它的委托方法等等。我从Apple doc 读到过,但我不明白。任何人都可以提供一些其他链接、教程或示例代码。 谢谢。

【问题讨论】:

    标签: ios ios7 ios8 avplayer avkit


    【解决方案1】:

    了解 iOS 组件的最佳方式是 Apple docs 本身,您应该尝试遵循 Apple 文档。 Here 是使用AVPlayerViewController 播放视频的简短教程。

    虽然,你可以找到AVPlayerViewControllerhere的示例项目。

    希望这会有所帮助。

    【讨论】:

      【解决方案2】:

      我建议您从一些实际工作的 AVPlayerViewController 源代码开始,然后从那里开始。这比仅仅查看 Apple 文档更容易。我写了this blog post,展示了一段从 NASA 来源编译的太阳视频。包含指向 github 源的链接,您可以轻松签出并运行该示例。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2014-11-13
        • 2016-12-16
        • 1970-01-01
        • 2015-04-08
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多