I am trying to set up the collector for a time interval of 10 minutes to: 8: 00.8: 10.8: 20, etc. With the value of the minute interval:
UIDatePicker *timePick = [[UIDatePicker alloc]initWithFrame:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height/1.5)]; timePick.datePickerMode =UIDatePickerModeTime; [timePick addTarget:self action:@selector(dateIsChanged:) forControlEvents:UIControlEventValueChanged]; timePick.minuteInterval=10;
What happens is this time:
13:00 14:10 15:20 16:30
Now, if you are trying to set the time interval, you cannot find a property for this.
What is wrong with that?
source share