79808536

Date: 2025-11-04 05:23:40
Score: 2.5
Natty:
Report link

I have same issue and fixed it with code below:

struct LiquidGlassTabView: ViewModifier {
    @ObservedObject var viewModel: ViewModel
    
    func body(content: Content) -> some View {
        if #available(iOS 26.0, *) {
            if viewModel.showAudioMiniPlayer {
                content
                    .tabViewBottomAccessory {
                        MiniPlayerView()
                    }
            } else {
                content
            }
        } else {
            content
        }
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have same issue
  • Low reputation (1):
Posted by: Le Do