Swiftui Radio Button

[Solved] Swiftui Radio Button | Swift - Code Explorer | yomemimo.com
Question : swiftui radio button

Answered by : tony-sacco

Picker(selection: $avocadoStyle, label: Text("Avocado:")) { Text("Sliced").tag(AvocadoStyle.sliced) Text("Mashed").tag(AvocadoStyle.mashed)
}.pickerStyle(RadioGroupPickerStyle())

Source : https://stackoverflow.com/questions/58580027/how-to-create-radiobuttons-in-swiftui | Last Update : Thu, 21 Jul 22

Answers related to swiftui radio button

Code Explorer Popular Question For Swift