mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-05-23 23:17:20 +00:00
Fix dismissal code not running by creating subclass of view controller and notifying view
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user