diff --git a/ios/Video/RCTVideo.m b/ios/Video/RCTVideo.m index efd48c70..113d9f23 100644 --- a/ios/Video/RCTVideo.m +++ b/ios/Video/RCTVideo.m @@ -1381,8 +1381,11 @@ static int const RCTVideoUnset = -1; { if (_playerViewController == playerViewController && _fullscreenPlayerPresented && self.onVideoFullscreenPlayerWillDismiss) { - [_playerViewController.contentOverlayView removeObserver:self forKeyPath:@"frame"]; - [_playerViewController removeObserver:self forKeyPath:readyForDisplayKeyPath]; + @try{ + [_playerViewController.contentOverlayView removeObserver:self forKeyPath:@"frame"]; + [_playerViewController removeObserver:self forKeyPath:readyForDisplayKeyPath]; + }@catch(id anException){ + } self.onVideoFullscreenPlayerWillDismiss(@{@"target": self.reactTag}); } }