Sfoglia il codice sorgente

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 mesi fa
parent
commit
b6f67dd2b2
2 ha cambiato i file con 15 aggiunte e 0 eliminazioni
  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>