Ios swift – SwiftUI Picker issue with Rectangle() instead of Text()
I want to use a SwiftUI Picker to select different colors. Instead of using Text() for each item in a picker, I want to use a Rectangle() to visually show the color, but SwiftUI doesn't like it and shows me…