Awesome
Port of https://github.com/alikaragoz/AIDatePickerController
Nuget: https://www.nuget.org/packages/AIDatePickerController/ AIDatePickerController
<p align="center"><img src="https://github.com/alikaragoz/AIDatePickerController/blob/master/github-assets/aidatepickercontroller.gif"/></p>Usage
var picker = new AIDatePickerController(DateTime.Now.AddDays(1),
(p) =>
{
Console.WriteLine(p.DatePicker.Date.ToString());
},
(p) =>
{
this.DismissViewController(true,null);
});
// Present it
btn.TouchUpInside += (sender, e) =>
{
this.PresentViewController(picker, true, null);
};
Credits
Credits go to Ali Karagoz (https://twitter.com/alikaragoz)
Contact
Marc Bruins
License
AIDatePickerController is available under the MIT license. See the LICENSE file for more info.