Xamarin.iOS.DatePickerDialog 1.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package Xamarin.iOS.DatePickerDialog --version 1.0.4
NuGet\Install-Package Xamarin.iOS.DatePickerDialog -Version 1.0.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Xamarin.iOS.DatePickerDialog" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xamarin.iOS.DatePickerDialog --version 1.0.4
#r "nuget: Xamarin.iOS.DatePickerDialog, 1.0.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Xamarin.iOS.DatePickerDialog as a Cake Addin
#addin nuget:?package=Xamarin.iOS.DatePickerDialog&version=1.0.4

// Install Xamarin.iOS.DatePickerDialog as a Cake Tool
#tool nuget:?package=Xamarin.iOS.DatePickerDialog&version=1.0.4

Xamarin.iOS.DatePickerDialog

NuGet Badge

Xamarin iOS C# port of https://github.com/squimer/DatePickerDialog-iOS-Swift

How to use

Install Nuget Install-Package Xamarin.iOS.DatePickerDialog

var startingTime = DateTime.Now;
var dialog = new DatePickerDialog();
dialog.Show("Choose time", "Done", "Cancel", UIDatePickerMode.Time, (dt) =>
{
  TimePickLabel.Text = dt.ToString();
}, startingTime);

There are 3 modes supported:

UIDatePickerMode.Time UIDatePickerMode.Date UIDatePickerMode.DateAndTime

<img src="Screenshots/xamarin-datepicker-dialog.gif" title="Xamarin iOS C# port of https://github.com/squimer/DatePickerDialog-iOS-Swift demo" alt="Xamarin iOS C# port of https://github.com/squimer/DatePickerDialog-iOS-Swift demo" width="221">

Product Compatible and additional computed target framework versions.
Xamarin.iOS xamarinios10 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Xamarin.iOS.DatePickerDialog:

Package Downloads
Xamarin.DateTimePopups

Little library of popups for picking dates and times

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.6 20,858 3/25/2021
1.0.5 365 3/9/2021
1.0.4 4,396 3/3/2021
1.0.3 25,390 5/20/2019
1.0.2 570 5/18/2019
1.0.1 31,868 6/3/2017
1.0.0 5,563 6/15/2016

- update code based on latest master of the Swift source repo
     - support for dark themes and rotation (iPhone, iPad)
     - fix for iOS 14