Fix dismissal code not running by creating subclass of view controller and notifying view

This commit is contained in:
Stanisław Chmiela
2016-03-31 23:10:25 +02:00
parent 4bbce5e378
commit d073847ce0
5 changed files with 47 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
//
// 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"
@interface RCTVideoPlayerViewController : AVPlayerViewController
@property (nonatomic, weak) id<RCTVideo> rctVideoView;
@end