小编Ans*_*ony的帖子

用于YouTube集成的Cocoapods安装

我需要为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)

xcode cocoa-touch objective-c ios cocoapods

19
推荐指数
3
解决办法
4948
查看次数

如何从Swift上的String中删除引号?

我想删除Swift中的引用,String例如:

"你好"

所以Swift String只是:

你好

swift swift2

13
推荐指数
2
解决办法
8553
查看次数

如何在xamarin iOS中使用AVPlayerViewController(AVKit)播放视频

如何在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# xamarin.ios xamarin xamarin.forms

2
推荐指数
2
解决办法
3484
查看次数