Explorar o código

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 hai 4 meses
pai
achega
b6f67dd2b2
Modificáronse 2 ficheiros con 15 adicións e 0 borrados
  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>