Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iOS: make RCTSurfaceHostingView have default backgroundColor
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
- Loading branch information