UIDatePicker *datePicker = [[UIDatePicker alloc]initWithFrame:CGRectMake(0, 40, 320, 216)];
datePicker.datePickerMode = UIDatePickerModeDate;
datePicker.hidden = NO;
[datePicker setMinimumDate: [NSDate date]];//Disable Past Date in UIDatePicker
No comments:
Post a Comment