Skip to content
This repository was archived by the owner on Sep 7, 2021. It is now read-only.

Commit 97239f1

Browse files
committed
[iPad Pro 11] Added support for splash screen and icon
1 parent 85d1f94 commit 97239f1

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

docs/notes/bugfix-22295.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Added support for splash screens and icon for iPad Pro 11

engine/src/mbliphoneapp.mm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,6 +1584,10 @@ - (void)switchImageToOrientation: (UIInterfaceOrientation)p_new_orientation
15841584
// iPad Pro 12.9 has retina
15851585
t_image_names[t_img_cnt] = @"Default-iPadProPortrait@2x.png";
15861586
t_image_angles[t_img_cnt++] = 0.0f;
1587+
1588+
// iPad Pro 11 has retina
1589+
t_image_names[t_img_cnt] = @"Default-iPadPro11Portrait@2x.png";
1590+
t_image_angles[t_img_cnt++] = 0.0f;
15871591

15881592
}
15891593
t_image_names[t_img_cnt] = @"Default-Portrait.png";
@@ -1602,6 +1606,10 @@ - (void)switchImageToOrientation: (UIInterfaceOrientation)p_new_orientation
16021606
// iPad Pro 12.9 has retina
16031607
t_image_names[t_img_cnt] = @"Default-iPadProLandscape@2x.png";
16041608
t_image_angles[t_img_cnt++] = 0.0f;
1609+
1610+
// iPad Pro 11 has retina
1611+
t_image_names[t_img_cnt] = @"Default-iPadPro11Landscape@2x.png";
1612+
t_image_angles[t_img_cnt++] = 0.0f;
16051613
}
16061614
t_image_names[t_img_cnt] = @"Default-Landscape.png";
16071615
t_image_angles[t_img_cnt++] = 0.0f;

ide-support/revsaveasiosstandalone.livecodescript

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,8 @@ private command revCopyMobileNewIcons pSettings, pBaseFolder, pAppBundle
904904
"ipad retina icon,ipad,72x72,2x,Icon-App-72x72@2x.png" & return & \
905905
"iOS 7 ipad icon,ipad,76x76,1x,Icon-App-76x76@1x.png" & return & \
906906
"iOS 7 ipad retina icon,ipad,76x76,2x,Icon-App-76x76@2x.png" & return & \
907-
"iPad Pro 12.9 icon,ipad,83.5x83.5,2x,Icon-App-83.5x83.5@2x.png" \
907+
"iPad Pro 12.9 icon,ipad,83.5x83.5,2x,Icon-App-83.5x83.5@2x.png" & return & \
908+
"iPad Pro 11 icon,ipad,83.5x83.5,2x,Icon-App-83.5x83.5@2x.png" \
908909
into sIconsList
909910

910911
local tAssetsFolder, tAppIconFolder
@@ -992,6 +993,7 @@ private command revCopyMobileNewSplash pSettings, pBaseFolder, pAppBundle
992993
repeat for each line tType in ("iphone splash" & return & "retina splash,@2x" & return & "ipad portrait splash,-Portrait" & \
993994
return & "ipad landscape splash,-Landscape" & return & "ipad retina portrait splash,-Portrait@2x" & return & "ipad retina landscape splash,-Landscape@2x" & \
994995
return & "ipad pro 12.9 portrait splash,-iPadProPortrait@2x" & return & "ipad pro 12.9 landscape splash,-iPadProLandscape@2x" & \
996+
return & "ipad pro 11 portrait splash,-iPadPro11Portrait@2x" & return & "ipad pro 11 landscape splash,-iPadPro11Landscape@2x" & \
995997
return & "iphone 4inch splash,-568h@2x" & return & "iphone 6 splash,-667h@2x" & \
996998
return & "iphone 6 plus portrait splash,-736h@3x" & return & "iphone 6 plus landscape splash,-414h@3x" & \
997999
return & "iphone X portrait splash,-812h@3x" & return & "iphone X landscape splash,-375h@3x" & \

0 commit comments

Comments
 (0)