I believe we’ve come across a bug in the Xamarin.Forms DatePicker. It looks like it will cause a crash on iOS if you change the DatePicker’s Date’s binding’s value when the DatePicker isn’t in focus, and then try to refocus the DatePicker. I’ve attached a simple app that exhibits the behavior on iOS. Explicitly the steps are like this:
1) Tap the DatePicker to open it
2) Turn one of the knobs to mess with the date
3) Tap that Entry sitting there
4) Tap the “Reset Date” button
5) Tap the DatePicker again
The exception you get is:
Foundation.MonoTouchException: Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: UITableView dataSource is not set
Is this a known issue? Is there a workaround? Please let me know if this is valid, and if we should take any additional steps such as filing a bug in Bugzilla.