LiveActivity using colorScheme to adapt to dark mode in iOS 26 system does not work

LiveActivity using colorScheme to adapt to dark mode in iOS 26 system does not work The system keeps returning. mark, unable to switch

The system keeps returning colorSchema = .dark, unable to switch

What API are you using that is having this issue? Can you please share a code snippet showing how are you trying to switch please.

Yes,I have same problem. Any one fix the problem?

Here is my sample code: struct BroadcastLiveActivityGradientLayerView: View { @Environment(.colorScheme) var colorScheme

private var localImageName: String {
    colorScheme == .light ? "icon_LiveActivity_broadcast_grid_light" : "icon_LiveActivity_broadcast_grid_dark"
}

private var baseBackgroundColor: Color {
    colorScheme == .dark ? .black : .white
}

var body: some View {
    ZStack(alignment: .topTrailing) {
        baseBackgroundColor

        let colors = LiveActivityColor.broadcastBackgroundColors(colorScheme)
        LinearGradient(
            stops: [
                .init(color: colors.last ?? .clear, location: 0.0),
                .init(color: colors.first ?? .clear, location: 1.0)
            ],
            startPoint: UnitPoint(x: 0.81, y: 1.29),
            endPoint: UnitPoint(x: 1.29, y: 0.17)
        )

        Image(localImageName)
            .resizable()
            .aspectRatio(contentMode: .fill)
            .frame(width: 179, height: 149)
    }
}

}

Based on my testing, @Environment(\.colorScheme) starting from iOS 26 behaves differently for Live Activities:

Inside the Dynamic Island, it always returns .dark.

For the banner / Lock Screen section, the value appears to be determined by the current wallpaper/background context rather than the system Light/Dark Mode setting. For example, a light-colored wallpaper should result in .light.

LiveActivity using colorScheme to adapt to dark mode in iOS 26 system does not work
 
 
Q