The tint effect to use, or nil to not override the inherited tint.
Instance Method
インスタンスメソッド
list
listItemTint(_:)
Sets the tint effect associated with specific content in a list.
Availability 有効性
- iOS 14.0+
- iPadOS 14.0+
- macOS 11.0+
- Mac Catalyst 14.0+
- tvOS 14.0+
- watchOS 7.0+
Technology
- Swift
UI
Declaration 宣言
func listItemTint(_ tint: ListItemTint
?) -> some View
Parameters パラメータ
tint
Discussion 議論
The containing list’s style will apply that tint as appropriate. watchOS uses the tint color for its background platter appearance. Sidebars on iOS and macOS apply the tint color to their Label
icons, which otherwise use the accent color by default.