Merge pull request #3018 from iFeelSmart/chore/review_ios_logs

chore: review logs & add RNV prefix for easier filtering
This commit is contained in:
Olivier Bouillet
2023-02-09 22:00:25 +01:00
committed by GitHub
4 changed files with 13 additions and 11 deletions

View File

@@ -1076,7 +1076,7 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
let newRect = change.newValue
if !oldRect!.equalTo(newRect!) {
if newRect!.equalTo(UIScreen.main.bounds) {
NSLog("in fullscreen")
RCTLog("in fullscreen")
self.reactViewController().view.frame = UIScreen.main.bounds
self.reactViewController().view.setNeedsLayout()