On iPadOS 26 (up to beta 7), .sheet
backgrounds have a dark green tint on Dark Mode and a gray tint on Light Mode. This is clearly noticeable on both the Canvas/Simulator and a physical device.
Here's a sample View that shows the issue:
import SwiftUI
struct ContentView: View {
@State private var isPresenting: Bool = false
var body: some View {
VStack {
Image(systemName: "globe")
.imageScale(.large)
.foregroundStyle(.tint)
Text("Hello, world!")
Button("Show Sheet") {
isPresenting.toggle()
}
}
.sheet(isPresented: $isPresenting) {
VStack {
HStack {
Spacer()
Button("Cancel", systemImage: "xmark.circle.fill") {
}
.foregroundStyle(.secondary)
.labelStyle(.iconOnly)
.buttonStyle(.plain)
.contentShape(.circle)
}
TabView {
Tab("Tab 1", systemImage: "cart") {
Text("Hello, tab 1")
}
Tab("Tab 2", systemImage: "cart") {
Text("Hello, tab 2")
}
}
}
.scenePadding()
}
.padding()
.preferredColorScheme(.dark)
}
}
#Preview {
ContentView()
}
Is this the expected behavior with the new OS? Anyone else seeing this?