0

I'm trying to embed a video in an app, using a button to start and a button to stop the video. I'm following the official google developer guide to achieve this, but when it says to enter in the ViewController.h class the following property:

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

it displays this error list

How can I solve the issue?

JAL
  • 41,701
  • 23
  • 172
  • 300
DarthGalm
  • 45
  • 1
  • 8

1 Answers1

0

You dragged your IBOutlet in the wrong place. Put it in an @interface.

JAL
  • 41,701
  • 23
  • 172
  • 300