Skip to content

Commit

Permalink
Add fallback background color on iOS 13
Browse files Browse the repository at this point in the history
  • Loading branch information
yogevbd committed Nov 5, 2019
1 parent 99ddcd8 commit 83f03cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ios/ReactNativeNavigation.m
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ - (UIWindow *)initializeKeyWindow {
if (@available(iOS 13.0, *)) {
#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000
keyWindow.backgroundColor = [UIColor systemBackgroundColor];
#else
keyWindow.backgroundColor = [UIColor whiteColor];
#endif
} else {
keyWindow.backgroundColor = [UIColor whiteColor];
Expand Down

0 comments on commit 83f03cd

Please sign in to comment.