diff --git a/src/iOS/Xamarin.iOS/Samples/Geoprocessing/AnalyzeHotspots/DateSelectionViewController.cs b/src/iOS/Xamarin.iOS/Samples/Geoprocessing/AnalyzeHotspots/DateSelectionViewController.cs index 5df0d81d21..b3485f974f 100644 --- a/src/iOS/Xamarin.iOS/Samples/Geoprocessing/AnalyzeHotspots/DateSelectionViewController.cs +++ b/src/iOS/Xamarin.iOS/Samples/Geoprocessing/AnalyzeHotspots/DateSelectionViewController.cs @@ -49,6 +49,7 @@ public override void LoadView() stackView.AddArrangedSubview(startLabel); StartPicker.TranslatesAutoresizingMaskIntoConstraints = false; + StartPicker.Mode = UIDatePickerMode.Date; stackView.AddArrangedSubview(StartPicker); UILabel endLabel = new UILabel(); @@ -57,6 +58,7 @@ public override void LoadView() stackView.AddArrangedSubview(endLabel); EndPicker.TranslatesAutoresizingMaskIntoConstraints = false; + EndPicker.Mode = UIDatePickerMode.Date; stackView.AddArrangedSubview(EndPicker); // Spacing.