Post

Replies

Boosts

Views

Activity

Reply to Only in Xcode15 + iOS 17, SwiftUI ToolbarItem > Button > Image's color is not set
I had this issue as well - .foregroundStyle/.foregroundColor stopped working on buttons when building my app in xcode 15. This used to work fine, does not anymore: Button(action: {openURL((state.tabUrlRequest?.url!)!)}, label: { Label("", systemImage: "safari") }).foregroundStyle(.white)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’23