@state update not reflecting on UI.

I’m facing an issue in our native iOS app that occurs specifically on iOS 26.1 (not observed on any lower versions). When I update a @State field value, the UI does not reflect the change as expected. The @State variable updates internally, but the view does not re-render. This behaviour started after upgrading to iOS 26.1. Works fine on iOS 26.0 and earlier versions. Has anyone else encountered this issue or found a workaround? Any insights or suggestions would be greatly appreciated.

Thanks for the post.

Let's make sure there is no regression in the new version affecting state management in SwiftUI views. Only happens in iOS 26.1? What about 26.2?

As a temporary workaround, you can try explicitly forcing a view update using the method on your view model or directly on the view if you're not using a view model.

Do you have a focused sample project that shows the issue? Do you do something like this inside your view?

@State private var counter = 0

  var body: some View {
    VStack {
      Text("Counter: \(counter)")
        .padding()
      Button("Increment") {
        counter += 1
(...)

Please submit a focused sample for your specific case. It would help if you can provide a minimal reproducible example project demonstrating the issue.

That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project.

Albert Pascual
  Worldwide Developer Relations.

Found the issue. UIWindow safeAreaTop was calculated on every redraw, which is very heavy. forced to skip UI updates.

How did you discover that? I’m experiencing the same issue - the UI doesn’t redraw on iOS 26.1, but all other versions work fine. I’m at a loss as to where to look for a solution.

@state update not reflecting on UI.
 
 
Q