We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a1d10d commit 9e235fdCopy full SHA for 9e235fd
packages/react-native/Libraries/AppDelegate/RCTAppDelegate.mm
@@ -113,7 +113,11 @@ - (UIView *)viewWithModuleName:(NSString *)moduleName initialProperties:(NSDicti
113
sizeMeasureMode:RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact];
114
115
rootView = (RCTRootView *)surfaceHostingProxyRootView;
116
+#if TARGET_OS_VISION
117
+ rootView.backgroundColor = [UIColor clearColor];
118
+#else
119
rootView.backgroundColor = [UIColor systemBackgroundColor];
120
+#endif
121
[self customizeRootView:(RCTRootView *)rootView];
122
return rootView;
123
}
0 commit comments