Reputation: 187
I want to know more about AVPlayerViewController
from AVKit
,like its delegate methods and all. I read about it from Apple doc, but I don't understand it. Can anybody provide some other links,tutorials or sample code for the same.
Thank you.
Upvotes: 2
Views: 4269
Reputation: 4425
I would suggest that you start with some actual working AVPlayerViewController source code and go from there. It is easier than just looking at Apple docs. I wrote up this blog post showing a video of the Sun compiled from NASA sources. A link to the github source is included and you can checkout and run the example easily.
Upvotes: 0
Reputation: 762
Best way to learn about a component in iOS are Apple docs itself, you should try and follow Apple docs. Here is a short tutorial on playing video using AVPlayerViewController
.
Although, you can find a sample project of AVPlayerViewController
here.
Hope this will help.
Upvotes: 1