swiftui-windowgroup Questions
4
Solved
I have an app that has a few windows defined as a windows group in the structure conforming to App in the main scene:
WindowGroup("StandingsView") {
StandingsView()
.environmentObject...
Lowney asked 3/7, 2022 at 23:57
3
I want to set the dimensions of a WindowGroup to a specific size when running on visionOS. On iOS and maOS we have the .defaultSize modifier for that. When building for visionOS, Xcode offers a sli...
Amberjack asked 23/6, 2023 at 11:33
5
Solved
I am building a single window application and want to use the new SwiftUI App Lifecycle.
import SwiftUI
@main
struct SingleWindowApp: App {
var body: some Scene {
WindowGroup {
ContentView()
}...
Yell asked 23/11, 2020 at 11:34
0
I started a SwiftUI project with iOS 15 as a deployment target, I was asked to lower the version, so I changed it to iOS 13, after resolving some code compatibility issues I was left with an error ...
Trainload asked 10/11, 2021 at 10:51
1
There is several objects in SwiftUI 2 like Scene and WindowGroup as some sort of Scene.
After reading documentation and looking WWDC2020 video related to scenes I see hierarchy by the following way...
Gilchrist asked 11/7, 2020 at 16:3
1
Solved
I am building a macOS-app using SwiftUI and the new App lifecycle.
All the default macOS menu items (like cut, copy, paste) are already there after starting a new project but they’re greyed out. Ho...
Clywd asked 31/10, 2020 at 17:5
1
© 2022 - 2024 — McMap. All rights reserved.