You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ios/THEOplayerRCTView.swift
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -121,10 +121,11 @@ public class THEOplayerRCTView: UIView {
121
121
}
122
122
123
123
func willUnmount(){
124
+
if DEBUG_PRESENTATIONMODES {PrintUtils.printLog(logText:"[NATIVE] willUnmount with presentationMode: \(self.presentationModeManager.presentationMode._rawValue)")}
125
+
124
126
// before destruction, make sure the view reparenting is reset when player was put in fullscreen
if DEBUG_THEOPLAYER_INTERACTION {PrintUtils.printLog(logText:"[NATIVE] willUnmount with presentationMode: \(self.presentationModeManager.presentationMode._rawValue)")}
127
-
128
+
if DEBUG_PRESENTATIONMODES {PrintUtils.printLog(logText:"[NATIVE] presentationMode is fullscreen => back to inline for player unmount.")}
0 commit comments