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.
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.
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.