Picker is used for presenting a selection consisting of multiple options. UISegmentedControl which is known from UIKit is just a different picker style in SwiftUI. Let's take a quick look on how to create a form with two items: picker with default style and picker with segmented style. Creating a from Form should be typically …
Continue reading "Picker and segmented control in SwiftUI on iOS"