Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

DatePicker causes crash on iOS when Date's binding changes

$
0
0

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.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>