I've added a Picker (SegmentedPickerStyle) to my project using SwiftUI as shown:
Picker(selection: $selectedType, label: Text("Type")) {
Text("Translation")
Text("Highlights")
}
.pickerStyle(SegmentedPickerStyle())
But for some reason, the result (both in canvas and the simulator) is a grey, disabled picker (please see screenshot attached).
What I try to achieve:
Does anyone has an idea what am I doing wrong?
