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

Commit 08cb1b3

Browse files
Merge pull request #2024 from livecode/bugfix-21767
[21767] Added support for splash images for iPhone XR and XSMAX
2 parents eb1bd03 + 70828b6 commit 08cb1b3

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed
4.69 KB
Binary file not shown.

Toolset/palettes/standalone settings/revstandalonesettingsiosbehavior.livecodescript

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,10 @@ on updateSettings
181181
put computeDefault(tSettings["ios,iPhone 6 Plus Landscape splash"], empty) into field "iPhone 6 Plus Landscape Splash"
182182
put computeDefault(tSettings["ios,iPhone X Portrait splash"], empty) into field "iPhone X Portrait Splash"
183183
put computeDefault(tSettings["ios,iPhone X Landscape splash"], empty) into field "iPhone X Landscape Splash"
184+
put computeDefault(tSettings["ios,iPhone XR Portrait splash"], empty) into field "iPhone XR Portrait Splash"
185+
put computeDefault(tSettings["ios,iPhone XR Landscape splash"], empty) into field "iPhone XR Landscape Splash"
186+
put computeDefault(tSettings["ios,iPhone XSMAX Portrait splash"], empty) into field "iPhone XSMAX Portrait Splash"
187+
put computeDefault(tSettings["ios,iPhone XSMAX Landscape splash"], empty) into field "iPhone XSMAX Landscape Splash"
184188
put computeDefault(tSettings["ios,ipad portrait splash"], empty) into field "iPad Portrait Splash"
185189
put computeDefault(tSettings["ios,ipad landscape splash"], empty) into field "iPad Landscape Splash"
186190
put computeDefault(tSettings["ios,ipad retina portrait splash"], empty) into field "iPad Retina Portrait Splash"
@@ -361,6 +365,10 @@ command updateOrientationSettings
361365
set the enabled of group "iPhone 6 Plus Landscape Splash" to tInitialOrientation contains "landscape"
362366
set the enabled of group "iPhone X Portrait Splash" to tInitialOrientation contains "portrait"
363367
set the enabled of group "iPhone X Landscape Splash" to tInitialOrientation contains "landscape"
368+
set the enabled of group "iPhone XR Portrait Splash" to tInitialOrientation contains "portrait"
369+
set the enabled of group "iPhone XR Landscape Splash" to tInitialOrientation contains "landscape"
370+
set the enabled of group "iPhone XSMAX Portrait Splash" to tInitialOrientation contains "portrait"
371+
set the enabled of group "iPhone XSMAX Landscape Splash" to tInitialOrientation contains "landscape"
364372
end if
365373
end updateOrientationSettings
366374

@@ -388,6 +396,10 @@ command enableDeviceSpecificSettings pDevices
388396
set the enabled of group "iPhone 6 Plus Landscape Splash" to (1 is among the items of pDevices)
389397
set the enabled of group "iPhone X Portrait Splash" to (1 is among the items of pDevices)
390398
set the enabled of group "iPhone X Landscape Splash" to (1 is among the items of pDevices)
399+
set the enabled of group "iPhone XR Portrait Splash" to (1 is among the items of pDevices)
400+
set the enabled of group "iPhone XR Landscape Splash" to (1 is among the items of pDevices)
401+
set the enabled of group "iPhone XSMAX Portrait Splash" to (1 is among the items of pDevices)
402+
set the enabled of group "iPhone XSMAX Landscape Splash" to (1 is among the items of pDevices)
391403
set the enabled of group "iPad Portrait Splash" to (2 is among the items of pDevices)
392404
set the enabled of group "iPad Landscape Splash" to (2 is among the items of pDevices)
393405
set the enabled of group "iPad Retina Portrait Splash" to (2 is among the items of pDevices)

notes/bugfix-21767.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Added support for splash screens for iPhone XR and XSMAX

0 commit comments

Comments
 (0)