diff --git a/ios/RCTVideoPlayerViewController.m b/ios/RCTVideoPlayerViewController.m index 1b7606fd..7809221a 100644 --- a/ios/RCTVideoPlayerViewController.m +++ b/ios/RCTVideoPlayerViewController.m @@ -8,13 +8,9 @@ - (void)viewDidDisappear:(BOOL)animated { - [super viewDidDisappear:animated]; - [_rctDelegate videoPlayerViewControllerDidDismiss:self]; -} - -- (void)viewWillDisappear:(BOOL)animated { - [_rctDelegate videoPlayerViewControllerWillDismiss:self]; - [super viewWillDisappear:animated]; + [super viewDidDisappear:animated]; + [_rctDelegate videoPlayerViewControllerWillDismiss:self]; + [_rctDelegate videoPlayerViewControllerDidDismiss:self]; } @end