Section
{
Picker("Tip percentage", selection: $smth)
{
ForEach(tipPercentages, id: .self)
{
Text($0, format: .percent)
}
}
.pickerStyle(.segmented)
}
So I have this line of code and I just have a tiny question, before I use the pickerStyle modifier on the Picker View the text always shows up and gets displayed. But then when I use this .segmented modifier suddenly the "Tip percentage" text just disappears..? Why exactly is this happening? If this is happening what is even the point of having it be there??