Skip to content

Commit

Permalink
[iOS] Fixes root view's background color in bridgeless mode
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongwuzw committed Jan 30, 2024
1 parent 9ef6d60 commit 4640d0f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
sizeMeasureMode:RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact];

rootView = (RCTRootView *)surfaceHostingProxyRootView;
rootView.backgroundColor = [UIColor systemBackgroundColor];
} else {
if (!self.bridge) {
self.bridge = [self createBridgeWithDelegate:self launchOptions:launchOptions];
Expand Down

0 comments on commit 4640d0f

Please sign in to comment.