Skip to content

Commit 4c6e048

Browse files
authored
feat(splash): add support for new iphone models (#67)
1 parent 0071b3f commit 4c6e048

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎src/splash.ts‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ export type AppleDeviceName
1717
| 'iPad 9.7"'
1818
| 'iPad mini 8.3"'
1919
| 'iPad mini 7.9"'
20+
| 'iPhone 17 Pro Max'
21+
| 'iPhone 17 Pro'
22+
| 'iPhone Air'
23+
| 'iPhone 17'
2024
| 'iPhone 16 Pro Max'
2125
| 'iPhone 16 Pro'
2226
| 'iPhone 16 Plus'
@@ -78,6 +82,10 @@ export const appleSplashScreenSizes: AppleSplashScreen = {
7882
'iPad 9.7"': { width: 1536, height: 2048, scaleFactor: 2 },
7983
'iPad mini 8.3"': { width: 1488, height: 2266, scaleFactor: 2 },
8084
'iPad mini 7.9"': { width: 1536, height: 2048, scaleFactor: 2 },
85+
'iPhone 17 Pro Max': { width: 1320, height: 2868, scaleFactor: 3 },
86+
'iPhone 17 Pro': { width: 1206, height: 2622, scaleFactor: 3 },
87+
'iPhone Air': { width: 1260, height: 2736, scaleFactor: 3 },
88+
'iPhone 17': { width: 1206, height: 2622, scaleFactor: 3 },
8189
'iPhone 16 Pro Max': { width: 1320, height: 2868, scaleFactor: 3 },
8290
'iPhone 16 Pro': { width: 1206, height: 2622, scaleFactor: 3 },
8391
'iPhone 16 Plus': { width: 1290, height: 2796, scaleFactor: 3 },

0 commit comments

Comments
 (0)