Setting decimal point format in a Picker List in Swiftui

前端 未结 0 1607
礼貌的吻别
礼貌的吻别 2020-12-10 08:49

I am setting up a picker with a range of 0 to 60 with increments of 0.1 using the following code

@State private var handicapIndex = 20.6

var body: some View {<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题