Post

Replies

Boosts

Views

Activity

Duplicate bar buttons appear when .toolbar is applied to a Group View
Is it normal behaviour that when I apply a .toolbar to a Group that I see duplicate buttons equal to the number of Views in the Group? e.g. Group { Text("1") Text("2") Text("3") } .toolbar { Button("Hi") { } } Results in 3 toolbar buttons appearing in the UI, like in this screenshot: If not, then I'll submit feedback about this bug but thought I'd ask first. Xcode Version 16.0 beta 6 (16A5230g) iPhone 15 Pro Simulator
Topic: UI Frameworks SubTopic: SwiftUI
4
0
870
Sep ’24