Post

Replies

Boosts

Views

Activity

CustomPicker inside a List
Using SwiftUi, how to display a shorter form of the text that we can choose from the picker (when the picker style is set to default, like a pop over list). Let's take for example the Weather app on iOS. tap on the more button ("ellipsis.circle"), then on the Units, and there in the sheet, on "Other Units", when you tap on the Wind picker, for example, you could chose "Kilometers per hour (km/h)", but then, in the main view (Units sheet), is displayed just the "km/h" (the short form). Any answers will be much appreciated!
0
0
225
Dec ’23