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

Commit c232d4a

Browse files
committed
[iPad Pro 11] Added support for splash screens and icon
1 parent 2d6b2cc commit c232d4a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
3.39 KB
Binary file not shown.

Toolset/palettes/standalone settings/revstandalonesettingsiosbehavior.livecodescript

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ on updateSettings
173173
put computeDefault(tSettings["ios,iOS 7 ipad icon"], empty) into field "iOS 7 iPad Icon"
174174
put computeDefault(tSettings["ios,iOS 7 ipad retina icon"], empty) into field "iOS 7 iPad Retina Icon"
175175
put computeDefault(tSettings["ios,iPad Pro 12.9 icon"], empty) into field "iPad Pro 12.9 Icon"
176+
put computeDefault(tSettings["ios,iPad Pro 11 icon"], empty) into field "iPad Pro 11 Icon"
176177
put computeDefault(tSettings["ios,iphone splash"], empty) into field "iPhone Splash"
177178
put computeDefault(tSettings["ios,retina splash"], empty) into field "Retina Splash"
178179
put computeDefault(tSettings["ios,iphone 4inch splash"], empty) into field "iPhone 4Inch Splash"
@@ -191,6 +192,8 @@ on updateSettings
191192
put computeDefault(tSettings["ios,ipad retina landscape splash"], empty) into field "iPad Retina Landscape Splash"
192193
put computeDefault(tSettings["ios,ipad pro 12.9 portrait splash"], empty) into field "iPad Pro 12.9 Portrait Splash"
193194
put computeDefault(tSettings["ios,ipad pro 12.9 landscape splash"], empty) into field "iPad Pro 12.9 Landscape Splash"
195+
put computeDefault(tSettings["ios,ipad pro 11 portrait splash"], empty) into field "iPad Pro 11 Portrait Splash"
196+
put computeDefault(tSettings["ios,ipad pro 11 landscape splash"], empty) into field "iPad Pro 11 Landscape Splash"
194197

195198
local tProfiles, tProfileIndex
196199
put empty into tProfileIndex
@@ -356,6 +359,8 @@ command updateOrientationSettings
356359
set the enabled of group "iPad Retina Landscape Splash" to (tSupportedOrientations contains "landscape")
357360
set the enabled of group "iPad Pro 12.9 Portrait Splash" to (tSupportedOrientations contains "portrait")
358361
set the enabled of group "iPad Pro 12.9 Landscape Splash" to (tSupportedOrientations contains "landscape")
362+
set the enabled of group "iPad Pro 11 Portrait Splash" to (tSupportedOrientations contains "portrait")
363+
set the enabled of group "iPad Pro 11 Landscape Splash" to (tSupportedOrientations contains "landscape")
359364
end if
360365

361366
if the enabled of button "iPhone Intial Orientation" then
@@ -386,6 +391,7 @@ command enableDeviceSpecificSettings pDevices
386391
set the enabled of group "iOS 7 iPad Icon" to (2 is among the items of pDevices)
387392
set the enabled of group "iOS 7 iPad Retina Icon" to (2 is among the items of pDevices)
388393
set the enabled of group "iPad Pro 12.9 Icon" to (2 is among the items of pDevices)
394+
set the enabled of group "iPad Pro 11 Icon" to (2 is among the items of pDevices)
389395
set the enabled of group "iPhone Splash" to (1 is among the items of pDevices)
390396
set the enabled of group "Retina Splash" to (1 is among the items of pDevices)
391397
set the enabled of group "iPhone 4Inch Splash" to (1 is among the items of pDevices)
@@ -404,6 +410,8 @@ command enableDeviceSpecificSettings pDevices
404410
set the enabled of group "iPad Retina Landscape Splash" to (2 is among the items of pDevices)
405411
set the enabled of group "iPad Pro 12.9 Portrait Splash" to (2 is among the items of pDevices)
406412
set the enabled of group "iPad Pro 12.9 Landscape Splash" to (2 is among the items of pDevices)
413+
set the enabled of group "iPad Pro 11 Portrait Splash" to (2 is among the items of pDevices)
414+
set the enabled of group "iPad Pro 11 Landscape Splash" to (2 is among the items of pDevices)
407415
set the enabled of button "iPhone Intial Orientation" to (1 is among the items of pDevices)
408416
set the enabled of group "iPad Initial Orientations" to (2 is among the items of pDevices)
409417

0 commit comments

Comments
 (0)