Skip to content

MarcBruins/AIDatePickerController-Xamarin-iOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Port of https://github.com/alikaragoz/AIDatePickerController

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.