youtube-ios-player-helper-swift 1.1

youtube-ios-player-helper-swift 1.1

MKSpinner 维护。



  • Moayad Al kouz

youtube-ios-player-helper-swift

Version License Platform

为iOS开发者提供的辅助库,这些开发者希望通过 UIWebView 中的 iframe 播放器在他们的应用程序中添加 YouTube 视频播放

这个库和旧的 Objective-C 库相同 https://github.com/youtube/youtube-ios-player-helper

功能

  • 可设计 Interface Builder
  • 高度可定制和灵活
  • 易于使用
  • 用 Swift 编写

安装

CocoaPods

  1. 安装 CocoaPods
  2. 将此仓库添加到您的 Podfile
target 'Example' do
# IMPORTANT: Make sure use_frameworks! is included at the top of the file
use_frameworks!
platform :ios, '8.0'
pod 'youtube-ios-player-helper-swift'
end
  1. 运行 pod install
  2. 打开 CocoaPods 创建的 .xcworkspace
  3. 完成!

用法

示例项目

查看示例项目 这里

  1. 下载它
  2. 在 Xcode 中打开 Example.xcworkspace
  3. 享受!

作者

Moayad Al kouz, [email protected]

Twitter : @malkouz

许可协议

youtube-ios-player-helper-swift 在 Apache 许可证下可用。有关更多信息,请参阅 LICENSE 文件。