Post

Replies

Boosts

Views

Activity

Reply to tabViewBottomAccessory AttributeGraph cycles, broken behavior of views participating in cycles
I've also experienced this. Putting a Button or Image inside .tabViewBottomAccessory leads to AttributeGraph cycles and causes it to not update properly. Makes it pretty much unusable. Is there a workaround until this is fixed?
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Oct ’25
Reply to tabViewBottomAccessory AttributeGraph cycles, broken behavior of views participating in cycles
Ok, I might've found a (dumb) workaround: Rebuild your view inside .tabViewBottomAccessory using UIKit Wrap it using UIViewRepresentable Use the new wrapped view inside .tabViewBottomAccessory Seems to be working, at least I'm not getting AttributeGraph warnings anymore and the re-renders are instant 🙃
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Oct ’25