瀏覽代碼

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.
Sam Lantinga 4 月之前
父節點
當前提交
b6f67dd2b2
共有 2 個文件被更改,包括 15 次插入0 次删除
  1. 2 0
      Xcode/SDLTest/config.xcconfig
  2. 13 0
      Xcode/SDLTest/test-Info.plist

+ 2 - 0
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
 

+ 13 - 0
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>