We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a053141 commit 99ddcd8Copy full SHA for 99ddcd8
lib/ios/ReactNativeNavigation.m
@@ -68,7 +68,9 @@ -(void)bootstrap:(NSURL *)jsCodeLocation launchOptions:(NSDictionary *)launchOpt
68
- (UIWindow *)initializeKeyWindow {
69
UIWindow* keyWindow = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
70
if (@available(iOS 13.0, *)) {
71
+#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000
72
keyWindow.backgroundColor = [UIColor systemBackgroundColor];
73
+#endif
74
} else {
75
keyWindow.backgroundColor = [UIColor whiteColor];
76
}
0 commit comments