我想了解AVPlayerViewController
来自AVKit
的更多信息,例如其委托方法和所有方法。我从Apple doc读到了它,但我不明白。任何人都可以提供其他链接,教程或示例代码。
谢谢。
答案 0 :(得分:1)
了解iOS中的组件的最佳方式是Apple docs本身,您应该尝试遵循Apple文档。 Here是使用stdClass Object
(
[successMessage] => 24 rows added / updated
[failMessage] =>
[status] => 1
)
24 rows added / updated
播放视频的简短教程。
虽然,您可以找到AVPlayerViewController
here的示例项目。
希望这会有所帮助。
答案 1 :(得分:0)
我建议您从一些实际工作的AVPlayerViewController源代码开始,然后从那里开始。它比仅仅查看Apple文档更容易。我写了this blog post来展示从NASA资源编辑的太阳视频。包含了github源代码的链接,您可以轻松签出并运行示例。