【问题标题】:Error while setting YTPlayer property youtube player api ios设置 YTPlayer 属性 youtube player api ios 时出错
【发布时间】:2016-07-02 07:22:32
【问题描述】:

我正在尝试在应用中嵌入视频,使用按钮开始和停止视频。 我正在关注official google developer guide 来实现这一点,但是当它说要在 ViewController.h 类中输入以下属性时:

@property(nonatomic, strong) IBOutlet YTPlayerView *playerView;

它显示这个error list

我该如何解决这个问题?

【问题讨论】:

    标签: ios youtube-api ytplayerview


    【解决方案1】:

    您将IBOutlet 拖到了错误的位置。将其放入@interface

    【讨论】:

      猜你喜欢
      • 2014-10-08
      • 1970-01-01
      • 1970-01-01
      • 2014-07-08
      • 1970-01-01
      • 2018-08-09
      • 2017-01-29
      • 1970-01-01
      • 2013-01-03
      相关资源
      最近更新 更多