Pārlūkot izejas kodu

Adds launch image for iPhone X and iPad to showSplashScreen. (#2321)

Jason Merino 6 gadus atpakaļ
vecāks
revīzija
29c47af6d4
1 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  1. 5
    1
      ios/RCCManager.m

+ 5
- 1
ios/RCCManager.m Parādīt failu

@@ -208,7 +208,11 @@
208 208
         imageName = [imageName stringByAppendingString:@"-800-667h"];
209 209
       else if (screenHeight == 736)
210 210
         imageName = [imageName stringByAppendingString:@"-800-Portrait-736h"];
211
-      
211
+      else if (screenHeight == 812)
212
+        imageName = [imageName stringByAppendingString:@"-1100-Portrait-2436h"];
213
+      else if (screenHeight == 1024)
214
+        imageName = [imageName stringByAppendingString:@"-Portrait"];
215
+
212 216
       image = [UIImage imageNamed:imageName];
213 217
     }
214 218