开发者

UIDatePicker hours are disabled

I have a UIDatePicker object and I am setting it up as follows but for some reason my hours field is disabled on the current date but minutes are not. Not exactly sure what I am missing, any help would be appreciated.

UIDatePicker *picker = [[UIDatePicker alloc] init];
picker.date = [NSDate dateWithTimeIntervalSinceNow:DATE_MIN_SECONDS_OFFSET];
picker.minimumDate = [NSDate dateWithTimeIntervalSinceNow:DATE_MIN_SECONDS_OFFSET];

This is what My datepicker looks like http://img.skitch.com/20100417-d75gq7开发者_运维问答8pjwjb9d37ku9msmcduc.png


It appears to be a known bug.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜