objective-c - 在 iOS 设备上播放视频内容 (mp4)

标签 objective-c ios

我们在服务器上托管了一些 mp4 格式的商业视频。我们可以使用/研究什么 iOS 类来播放它们?任何额外的提示将不胜感激。

最佳答案

看看MPMoviePlayerController :

A movie player (of type MPMoviePlayerController) manages the playback of a movie from a file or a network stream. Playback occurs in a view owned by the movie player and takes place either fullscreen or inline. You can incorporate a movie player’s view into a view hierarchy owned by your app, or use an MPMoviePlayerViewController object to manage the presentation for you.

关于objective-c - 在 iOS 设备上播放视频内容 (mp4),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8863238/

相关文章:

ios - 连接 PaintCode 按钮的最佳方式?

ios - "idleTimerDisabled"在 didFinishLaunchingWithOptions 中如何工作?

objective-c - iPhone 计算器教程帮助,十进制样式..再次

ios - iPhone 11 系列不支持 RCMTLVideoView

ios - 在 XCode 上为 Playground 设置 "Value History"和 "Quick Look"的默认文本颜色

ios - 为什么 AWSCognitoCredentialsProvider.getIdentityId().continueWith(block :) not run its block?

ios - Xcode - iOS - 导航 Controller 场景顺序被更改

ios - 我如何在继续执行之前等待方法内的任务

ios - 限制某些 View 的自动旋转

ios - 在 WatchKit 错误中填充 TableView