This is a sample to display the picker in SwiftUI. In case of multiple lines, click here. Creating a multi-line picker in SwiftUI
Reference: Is there a way to call a function when a SwiftUI Picker selection changes?
This is a sample to display the picker in SwiftUI. In case of multiple lines, click here. Creating a multi-line picker in SwiftUI
Reference: Is there a way to call a function when a SwiftUI Picker selection changes?