Parcourir la source

Add fallback background color on iOS 13

yogevbd il y a 5 ans
Parent
révision
83f03cd8f9
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2
    0
      lib/ios/ReactNativeNavigation.m

+ 2
- 0
lib/ios/ReactNativeNavigation.m Voir le fichier

@@ -70,6 +70,8 @@
70 70
 	if (@available(iOS 13.0, *)) {
71 71
 #if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000
72 72
 		keyWindow.backgroundColor = [UIColor systemBackgroundColor];
73
+#else
74
+		keyWindow.backgroundColor = [UIColor whiteColor];
73 75
 #endif
74 76
 	} else {
75 77
 		keyWindow.backgroundColor = [UIColor whiteColor];