We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d2daa0 commit 74b667dCopy full SHA for 74b667d
React/DevSupport/RCTDevLoadingView.m
@@ -94,6 +94,11 @@ - (void)setBridge:(RCTBridge *)bridge
94
self->_label.textColor = color;
95
self->_window.backgroundColor = backgroundColor;
96
self->_window.hidden = NO;
97
+
98
+ if (@available(iOS 13.0, *)) {
99
+ id scene = [[RCTSharedApplication() valueForKey:@"connectedScenes"] anyObject];
100
+ [self->_window setValue:scene forKey:@"windowScene"];
101
+ }
102
});
103
}
104
0 commit comments