我需要为youtube集成安装cocoapods,我使用此链接http://www.raywenderlich.com/64546/introduction-to-cocoapods-2作为参考
这是我的podfile
//////////////////////////////////////////
# Uncomment this line to define a global platform for your project
# platform :ios, '7.0'
target 'testyoutube' do
pod "YouTube-Player-iOS-Helper", "~> 0.1"
end
target 'testyoutubeTests' do
end
//////////////////////////////////////////
Run Code Online (Sandbox Code Playgroud)
当我试图安装pod时,我收到此错误代码
Ansals-Mac-mini:testyoutube ansalantony$ pod install
Analyzing dependencies
CocoaPods 0.37.0.rc.1 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
[!] Unable to find a …
Run Code Online (Sandbox Code Playgroud) 我想删除Swift中的引用,String
例如:
"你好"
所以Swift String
只是:
你好
如何在xamarin iOS中使用AVPlayerLayer和AVPlayerViewControler播放视频?
playerItem = new AVPlayerItem(new NSUrl("https://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"));
player = new AVPlayer(playerItem);
AVcontroller.Player = player;
AVcontroller.View.Layer.Frame = this.View.Bounds;
this.View.AddSubview(AVcontroller.View);
//AVcontroller.SetFullscreen(true, true);
AVcontroller.Player.Play();
Run Code Online (Sandbox Code Playgroud) c# ×1
cocoa-touch ×1
cocoapods ×1
ios ×1
objective-c ×1
swift ×1
swift2 ×1
xamarin ×1
xamarin.ios ×1
xcode ×1