From b6f67dd2b24e116d43ebf7eb24e8670eabbd94c8 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 30 Oct 2025 17:23:31 -0700
Subject: [PATCH] tests: add a template Info.plist that uses the whole screen
The OS uses the presence of the UILaunchScreen key to determine whether to display the application in compatibility mode or display using the whole screen.
---
Xcode/SDLTest/config.xcconfig | 2 ++
Xcode/SDLTest/test-Info.plist | 13 +++++++++++++
2 files changed, 15 insertions(+)
create mode 100644 Xcode/SDLTest/test-Info.plist
diff --git a/Xcode/SDLTest/config.xcconfig b/Xcode/SDLTest/config.xcconfig
index 644792267711b..4a0292e585413 100644
--- a/Xcode/SDLTest/config.xcconfig
+++ b/Xcode/SDLTest/config.xcconfig
@@ -10,5 +10,7 @@
// This allows you to set DEVELOPMENT_TEAM for all targets, for example.
#include? "build.xcconfig"
+INFOPLIST_FILE = test-Info.plist
+
CONFIG_FRAMEWORK_LDFLAGS = -lSDL3_test
diff --git a/Xcode/SDLTest/test-Info.plist b/Xcode/SDLTest/test-Info.plist
new file mode 100644
index 0000000000000..c2dc468983e82
--- /dev/null
+++ b/Xcode/SDLTest/test-Info.plist
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>UILaunchScreen</key>
+ <dict>
+ <key>UIColorName</key>
+ <string></string>
+ <key>UIImageName</key>
+ <string></string>
+ </dict>
+</dict>
+</plist>