79620448

Date: 2025-05-13 21:33:44
Score: 1.5
Natty:
Report link

This is now possible with toolbarColorScheme(_:for:). See documentation here: https://developer.apple.com/documentation/swiftui/view/toolbarcolorscheme(_:for:)

Example usage:

    NavigationSplitView {
        // ...
    }
        .toolbarBackground(Color.accentColor)
        .toolbarColorScheme(.dark)

Example output: enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Albert Dayn