mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
f31497354b
Summary: Previously it defaults to using transparent color (iOS default), but when using `RCTSurfaceHostingProxyRootView` we actually manually set to `[UIColor whiteColor]`. However, if the surface is initialized via a different API, the color wasn't set. To avoid confusion and backward incompatibility, let's just set the same background color here. We can decide in the future if the default color should be transparent instead. Changelog: [Fixed][iOS] RCTSurfaceHostingView default background color is now consistent with RCTRootView Reviewed By: RSNara Differential Revision: D27973748 fbshipit-source-id: c506afbc5629df6647277aa2323f084773c8e760