Port of https://github.com/alikaragoz/AIDatePickerController
Nuget: https://www.nuget.org/packages/AIDatePickerController/ AIDatePickerController
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 go to Ali Karagoz (https://twitter.com/alikaragoz)
Marc Bruins
AIDatePickerController is available under the MIT license. See the LICENSE file for more info.