on master help sign in
Fix iOS letterboxing by adding UILaunchScreen dict to support full-screen launch
commit177a234e8ff92ed07b487e38f06c37d6ff38eb2b authoriko <mail@iko.soy> dateTue 14 Apr 2026, 02:47 (6 months ago) parentdd6d4a0
2 files changed+4−3
client/Platform/iOS/AppDelegate.fs+2−3 client/Platform/iOS/Info.plist+2
client/Platform/iOS/AppDelegate.fs+2−3
@@ -14,10 +14,9 @@ type AppDelegate() =
1414 override this.CreateAppBuilder() =
1515 NSTimer.CreateScheduledTimer(0.0, false, fun _ ->
1616 if this.Window <> null then
17− this.Window.BackgroundColor <- UIColor.White
18− if this.Window.RootViewController <> null then
19− this.Window.RootViewController.View.BackgroundColor <- UIColor.White)
17+ this.Window.BackgroundColor <- UIColor.White)
2018 |> ignore
19+
2120 App.create().UseiOS()
2221
2322module Main =
client/Platform/iOS/Info.plist+2
@@ -21,6 +21,8 @@
2121 </array>
2222 <key>UILaunchStoryboardName</key>
2323 <string>LaunchScreen</string>
24+ <key>UILaunchScreen</key>
25+ <dict/>
2426 <key>UIRequiredDeviceCapabilities</key>
2527 <array>
2628 <string>armv7</string>