Xamarin.iOS.DatePickerDialog
1.0.4
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
<PackageReference Include="Xamarin.iOS.DatePickerDialog" Version="1.0.4" />
paket add Xamarin.iOS.DatePickerDialog --version 1.0.4
#r "nuget: Xamarin.iOS.DatePickerDialog, 1.0.4"
// 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
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 | Versions Compatible and additional computed target framework versions. |
---|---|
Xamarin.iOS | xamarinios10 is compatible. |
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.
- update code based on latest master of the Swift source repo
- support for dark themes and rotation (iPhone, iPad)
- fix for iOS 14