Hi,
I want to set the style of a DatePicker to inline but I can't figure out how to do it.
My DatePicker is defined like this:
Unfortunately the picker is not really displayed inline because when the user tap on it the picker is presented modally over a blurred background.
I tried to change the available picker styles but the result is always the same.
I want to achieve what Apple did in the Remainders App. Here when you activate the "Date" or "Time" switch a date picker is displayed inline.
Can anyone help me?
Thank you
I want to set the style of a DatePicker to inline but I can't figure out how to do it.
My DatePicker is defined like this:
Code Block DatePicker("Time", selection: $time, displayedComponents: [.hourAndMinute]) .pickerStyle(InlinePickerStyle())
Unfortunately the picker is not really displayed inline because when the user tap on it the picker is presented modally over a blurred background.
I tried to change the available picker styles but the result is always the same.
I want to achieve what Apple did in the Remainders App. Here when you activate the "Date" or "Time" switch a date picker is displayed inline.
Can anyone help me?
Thank you