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

Commit 74a3d40

Browse files
Merge pull request #2153 from livecode/bugfix-23193
[[ Bug 23193 ]] Add support for App Tracking Transparency
2 parents 1cedb9c + a6d71a5 commit 74a3d40

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
2.56 KB
Binary file not shown.

Toolset/palettes/standalone settings/revstandalonesettingsiosbehavior.livecodescript

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,12 @@ on updateSettings
157157
put computeDefault(tSettings["ios,launch-image-dark-2x"], empty) into field "launch-image-dark-2x"
158158
put computeDefault(tSettings["ios,launch-image-dark-3x"], empty) into field "launch-image-dark-3x"
159159

160+
local tAppTrackingTransparency
161+
put computeDefault(tSettings["ios,AppTrackingTransparency"], false) into tAppTrackingTransparency
162+
set the hilite of button "App Tracking Transparency Check" to tAppTrackingTransparency
163+
put computeDefault(tSettings["ios,AppTrackingTransparencyMessage"], empty) into field "App Tracking Transparency Message"
164+
set the enabled of field "App Tracking Transparency Message" to tAppTrackingTransparency
165+
160166
set the opaque of graphic "launch-backcolor" to tSettings["ios,launch-backcolor"] is not empty
161167
set the hilite of button "Use system background color" to tSettings["ios,launch-backcolor"] is empty
162168
set the backColor of graphic "launch-backcolor" to tSettings["ios,launch-backcolor"]

0 commit comments

Comments
 (0)