I’m using a standard DisclosureGroup in SwiftUI and noticed that the disclosure indicator (chevron) no longer adopts the tint color.
Example:
DisclosureGroup("Details") {
Text("Content")
}
.tint(.indigo)
The label text becomes indigo, but the chevron remains the default system color.
I also tried creating a custom DisclosureGroupStyle to render my own chevron, but that approach appears to break some of the built-in disclosure animation behavior and interaction.
Questions:
- Is there a supported way to customize the disclosure indicator color in DisclosureGroup?
- Has the behavior of .tint(_:) changed for DisclosureGroup in recent iOS releases?
- If customization is not currently supported, is there a recommended alternative that preserves the native disclosure animations and accessibility behavior?
Tested on: iOS 26.3 and Xcode 26.3