cadets-ca / ets

MIT License
5 stars 3 forks source link

Buggy Date / Time Pickers in iOS 14 #64

Open kirvanp opened 3 years ago

kirvanp commented 3 years ago

As seen in this video, date and time pickers that previously would invoke a spinning date picker now behave strangely under iOS 14. Still functional, but more steps and not as attractive.

https://user-images.githubusercontent.com/50355421/115779195-e648da00-a374-11eb-9bb5-5a1f55feb00e.mp4

kirvanp commented 3 years ago

Upon further review, this is very easily fixed. There is a new property on UIDatePicker called preferredDatePickerStyle. Set that to .wheels and everything goes back to the way it was before. Not to say the new keyboard based date entries don't have merit, but I think the wheels work better when you don't have a keyboard and desk.

No I just have to figure out how to upload changes again...

https://user-images.githubusercontent.com/50355421/115821481-17023100-a3c0-11eb-90d7-8f621f48ba20.mp4

LukeTowers commented 3 years ago

No I just have to figure out how to upload changes again...

@kirvanp you mean via git?