From 612fab6099aa93a6f6d440350c905d948b6f5999 Mon Sep 17 00:00:00 2001 From: Parthasarathy Date: Thu, 24 Nov 2022 13:52:57 +0100 Subject: [PATCH] Allow the default window to go fullscreen (#2458) This is an odd behaviour, but I couldn't find any other solution. If `UILaunchStoryboardName` is present, `UIScreen.mainScreen.bounds` will have proper size instead of a smaller window. [Reference](https://stackoverflow.com/a/56950026) --- .../uikit/internal/configureTaskToGenerateXcodeProject.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/experimental/uikit/internal/configureTaskToGenerateXcodeProject.kt b/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/experimental/uikit/internal/configureTaskToGenerateXcodeProject.kt index 5f55f5c8ba..f6cfe929ca 100644 --- a/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/experimental/uikit/internal/configureTaskToGenerateXcodeProject.kt +++ b/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/experimental/uikit/internal/configureTaskToGenerateXcodeProject.kt @@ -42,6 +42,8 @@ internal fun Project.configureTaskToGenerateXcodeProject( deploymentTarget: "12.0" info: path: plists/Ios/Info.plist + properties: + UILaunchStoryboardName: $projectName settings: LIBRARY_SEARCH_PATHS: "$(inherited)" ENABLE_BITCODE: "YES"