Liquid Glass TabBar animations causes Hangs, bug with UIKitCore?

With iOS 26.1 we started seeing a bug that only appears on iPhone Air. This bug is visible with simulators too. I have tried so many different ways to fix the issue, but Instruments Profiler is pointing at UIKitCore.

We load a tab bar, when the user attempts to switch a tab, the app hangs and never recovers. It happens right as the animation of the Glass bubble is in progress.

I have tried a UIKit Tab bar, a SwiftUI Tab bar. I tore out AppDelegate and did a direct @main SwiftUI entry for my application. This issue appears with every tab bar instance I try.

I attempted to disable LiquidGlass by utilizing this flag UIDesignRequiresCompatibility in my plist, but the flag seems to be ignored by the system.

I am not sure what else to try. I have a trace file if that is helpful. What else can I upload?

Here is what the code looks like.


struct ContentView: View {
    @State private var selectedTab = 2
    
    var body: some View {
        TabView(selection: $selectedTab) {
            Text("Profile")
                .tabItem {
                    Label("Me", systemImage: "person")
                }
                .tag(0)
            
            Text("Training")
                .tabItem {
                    Label("Training", systemImage: "calendar")
                }
                .tag(1)
            
            Text("Home")
                .tabItem {
                    Label("Home", systemImage: "house")
                }
                .tag(2)
            
            Text("Goals")
                .tabItem {
                    Label("Goals", systemImage: "target")
                }
                .tag(3)
            
            Text("Coach")
                .tabItem {
                    Label("Coach", systemImage: "person.2")
                }
                .tag(4)
        }
    }
}

#Preview {
    ContentView()
}

and AppView entry point

import SwiftUI

@main
struct RunCoachApp: App {
    var body: some Scene {
        WindowGroup {
            ContentView()
        }
    }
}

Thanks for the post and the code.

I run the code in the iPhone air simulator using Xcode 26.2 beta and I don't see the hang. Can you share the way to reproduce it?

Also will be help you to share a focused sample app with all the settings you are using.

If you're not familiar with preparing a test project, take a look at Creating a test project.

Albert Pascual
  Worldwide Developer Relations.

I'm having the same issue here, even with Xcode 26.2 RC. The hang occurs when you navigate to a second view within any tab view.

Hi @DTS Engineer, @viktor_runcoach ,

I'm now able to reproduce the issue with a test project. The issue happens when the App uses the legacy LaunchImage.

A bug report has been fired: FB21317731, please have a check.

Thanks

Albert, I have also filed a bug report FB21320686 I have attached a trace and a project file to reproduce the issue.

ray_cai, what has your fix been? Does removing the legacy launch image fix the issue?

@viktor_runcoach Thanks for providing me the FB number for the filed bug. I see you produced the trace files.

I don't see what's the last version of iOS you have used to test if still happens.

Albert Pascual
  Worldwide Developer Relations.

@DTS Engineer I utilized iOS 26.1, the issue @ray_cai outlined above was related to the LaunchImage.

The fix is:

  1. Remove LaunchImage from the Asset catalog.
  2. Remove references to LaunchImage from your build settings.
  3. Add Launch Screen storyboard to the project.
  4. Add Launch screen interface file base name with the name of your storyboard Launch Screen.storyboard to your Info.plist file.

I am not sure why this was causing a hang with the tab bar, maybe the Launch Image is not compatible with iOS 26.1 & iPhone Air, this issue was not occurring on other versions of iPhones.

Liquid Glass TabBar animations causes Hangs, bug with UIKitCore?
 
 
Q