Skip to content

Creating a multi-line picker in SwiftUI

   

This is a way to create a multi-line picker like UIPickerView. The usability is quite different from UIPickerView and I was puzzled.

Multi-Component Picker Sample

Reference: Multi-Component Picker (UIPickerView) in SwiftUI

  1. Don't show the Label in the SwiftUI Picker
  2. Displaying a Picker in SwiftUI
  3. Calling the transition source method from the view of the screen transition destination in SwiftUI
  4. Create a sequential numbered array in Swift
  5. Using TabView to switch screens (SwiftUI)
  6. Transition from one ListView to another (SwiftUI)
  7. Sample apps using MVP architecture