I used:
Label("your text", image: "yourCustomImage")
and it worked on Xcode 16.2.
Remember that I changed the render mode for the custom image in the asset catalog to “Hierarchical”, and it worked!
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: