在iOS开发过程中我们也经常会遇到视频播放的需求,其实Apple已经为我们提供了多种方法来实现视频播放,包括MPMoviePlayerController,MPMoviePlayerViewController,AVPlayer,AVPlayerViewController等。而值得注意的是,上述的MPMoviePlayerController与MPMoviePlayerViewController在iOS9.0之后被弃用。虽说如此,这还是将它们的用法总结了一下,下面我们简单来了解一下四种播放方式的区别:
forked from wuyubeichen/ZSPlayerDemo
-
Notifications
You must be signed in to change notification settings - Fork 0
ZhangMingHeng/ZSPlayerDemo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
iOS开发中,Apple为我们提供了多种方法来实现视频播放,包括MPMoviePlayerController,MPMoviePlayerViewController,AVPlayer,AVPlayerViewController等。此示例详细演示四种不同的播放方式,进一步理解它们之间区别。
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Objective-C 100.0%