bbf37ed5cb
orientation; added tvOS target to examples/basic/ios project
20 lines
491 B
Objective-C
20 lines
491 B
Objective-C
//
|
|
// RCTVideoPlayerViewController.h
|
|
// RCTVideo
|
|
//
|
|
// Created by Stanisław Chmiela on 31.03.2016.
|
|
// Copyright © 2016 Facebook. All rights reserved.
|
|
//
|
|
|
|
#import <AVKit/AVKit.h>
|
|
#import "RCTVideo.h"
|
|
#import "RCTVideoPlayerViewControllerDelegate.h"
|
|
|
|
@interface RCTVideoPlayerViewController : AVPlayerViewController
|
|
@property (nonatomic, weak) id<RCTVideoPlayerViewControllerDelegate> rctDelegate;
|
|
|
|
// Optional paramters
|
|
@property (nonatomic, weak) NSString* preferredOrientation;
|
|
|
|
@end
|