Eureka: IOS 14 Beta - Time Picker Changed.

Created on 24 Jun 2020  Â·  6Comments  Â·  Source: xmartlabs/Eureka

IOS 14 Beta has changed the format of the Time Picker. No longer does a picker populate. It is an input dialog that comes up instead.

I am unable to change the color of the text row.
Screen Shot 2020-06-23 at 6 46 44 PM

Also, would it be possible to change the color of the dialog box?
Screen Shot 2020-06-23 at 6 46 54 PM

DateRows issue

Most helpful comment

@johnlietzke I know this doesn't help what you need since you were looking for TimeRow and not TimeInline row but I just submitted a pull request to fix the date & time inline rows so that they match the iOS native apps. The styles were not displaying correctly in iOS14.

All 6 comments

I can confirm that it seems the DateRow type of rows don't work in iOS 14 beta. DateInlineRow or DatePickerRow works. Same for time and date+time pickers. Somehow the inputView is not shown

To continue using the wheels layout for the pickers you can use:

cell.datePicker.preferredDatePickerStyle = .wheels

I haven't taken a look yet into customizing the colors of the new compact picker.

Thanks for the quick reply. I will try that.

I do not have date pickers in my app. I use a calendar setup for that.

But the new time input is kind of nice.

Thanks,
John

On Jun 24, 2020, at 6:05 AM, Mathias Claassen notifications@github.com wrote:


I can confirm that it seems the DateRow type of rows don't work in iOS 14 beta. DateInlineRow or DatePickerRow works. Same for time and date+time pickers. Somehow the inputView is not shown

To continue using the wheels layout for the pickers you can use:

cell.datePicker.preferredDatePickerStyle = .wheels
I haven't taken a look yet into customizing the colors of the new compact picker.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

@johnlietzke I know this doesn't help what you need since you were looking for TimeRow and not TimeInline row but I just submitted a pull request to fix the date & time inline rows so that they match the iOS native apps. The styles were not displaying correctly in iOS14.

Thanks Kate, in the past the developers have waited until the GM version to make changes. I do like the new native date and time as it is smaller and easier to input. What do you think?

@johnlietzke either way. With my changes there is still support for 13.4+ and less than 13.4 (the default still works, additional config not needed). It doesn't matter to me when it is merged in.

Support for this has been released

Was this page helpful?
0 / 5 - 0 ratings