mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-05-25 23:58:18 +00:00
Use the delegate in controller
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
|
||||
#import <AVKit/AVKit.h>
|
||||
#import "RCTVideo.h"
|
||||
#import "RCTVideoPlayerViewControllerDelegate.h"
|
||||
|
||||
@interface RCTVideoPlayerViewController : AVPlayerViewController
|
||||
@property (nonatomic, weak) id<RCTVideo> rctVideoView;
|
||||
@property (nonatomic, weak) id<RCTVideoPlayerViewControllerDelegate *> rctDelegate;
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user