How to build the below UI using SwiftUI? I tried to use Picker with wheel style, but it is not the same as the screenshot.
The screenshot came from the iOS built-in calendar app.
- Add a new calendar event
- Click "Repeat"
- Choose "Custom"
- Click "Every day"
- The required picker wheel will be displayed
Picker("Every", selection: $interval) {
ForEach(1..<366) { interval in
Text("\(interval)").tag(interval)
}
}
.pickerStyle(.wheel)