Mobile/📱 SwiftUI
ListItemTint
James Wetzel
2022. 6. 10. 13:25
The configuration of a tint effect applied to content within a List.
struct SettingsView: View {
var body: some View {
List {
Label("Airplane Mode", systemImage: "airplane.circle.fill")
.listItemTint(.fixed(Color.orange))
}
}
}
728x90
반응형