Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swiftui radio button

Picker(selection: $avocadoStyle, label: Text("Avocado:")) { 
    Text("Sliced").tag(AvocadoStyle.sliced) 
    Text("Mashed").tag(AvocadoStyle.mashed)
}.pickerStyle(RadioGroupPickerStyle())
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swiftui #radio #button
ADD COMMENT
Topic
Name
3+7 =