import SwiftUI
struct NotificationSettings: View {
@State private var dailyReminder = false
var body: some View {
VStack {
Toggle(isOn: $dailyReminder) {
Text("Daily reminder")
}
Spacer()
}
.navigationBarTitle(Text(verbatim: "Notifications"))
}
}
After toggling daily reminder, I'd like to create a time picker for the user to select when the daily reminder/notification will occur. I thought something like DatePicker would suit my needs but then it said it is not supported in WatchOS. So what other alternatives are available? Thanks.