Post

Replies

Boosts

Views

Activity

showsWidgetContainerBackground crashes on iOS17 beta 6 on a real device
When using @Environment(.showsWidgetContainerBackground) inside any view, the app and widgets crash in a real device with iOS17 beta 6. The same build works perfectly on simulators and a real device running iOS17 beta 5. Using XCode 15 beta 6 to build the app. I am getting this error: Symbol not found: _$s7SwiftUI17EnvironmentValuesV9WidgetKitE05showsE19ContainerBackgroundSbvg I just created a new blank project and only added that line and it crashes. Filled a feedback report. I am the only one? struct ContentView: View { @Environment(\.showsWidgetContainerBackground) var showsBackground: Bool var body: some View { VStack { Image(systemName: "globe") .imageScale(.large) .foregroundStyle(.tint) Text("Hello, world!") } .padding() } }
4
0
913
Aug ’23