I have a very simple page with a datepicker, works great on simulator and most iPad.
However, I have a user who recently reported that he is unable to change the date on one of his iPad (currently trying to figure exactly what model/version he has).
Instead of seeing the option to select the year / month / day, he just sees the current date
He sent me the following screen capture:
Any clue what might be causing it?
Turns out I had to do a custom renderer to change the PreferredDatePickerStyle
For anyone trying to get more info or see the renderer found the info here:
https://github.com/xamarin/Xamarin.Forms/issues/12258
Answers
Is it a default
DatePicker
control?It's better to stably reproduce this on your side and post the related code here.
And then we could give some further suggestions.
It is the default DatePicker;
Seems the problem started to happen after he updated to iOS 14.1
I was able to reproduce it on the iPad Pro (9.7-inch) iOS 14.1 simulator (but seems to be working fine on older versions)
Tried creating a new app from scratch (Multiplatform> Blank Forms App) and simply added a
<DatePicker />
to the main page, and I could observe the problemAt a guess it looks like an issue with the colour of the non selected items, I presume they are still there and the spinners still work?
Turns out I had to do a custom renderer to change the PreferredDatePickerStyle
For anyone trying to get more info or see the renderer found the info here:
https://github.com/xamarin/Xamarin.Forms/issues/12258