Browse Source

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

Jason Merino 7 years ago
parent
commit
29c47af6d4
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      ios/RCCManager.m

+ 5
- 1
ios/RCCManager.m View File

@@ -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