NSDate *maxDate = [[NSDate alloc]...,这句话是没有问题的。 Failed to allocate data stores for 10000 rows in section 0, This problem is very strange. Is it because there is a problem with your even time range, causing the set maximum number of rows to be too large, and then Apple's DatePicker crashes. Or, is it possible that the problem is caused by incorrectly setting the DatePicker multiple times somewhere, because this bug is rare. Alternatively, sometimes, weird problems occur when setting up UI classes using non-main threads.
NSDate *maxDate = [[NSDate alloc]...
,这句话是没有问题的。Failed to allocate data stores for 10000 rows in section 0
,This problem is very strange. Is it because there is a problem with your even time range, causing the set maximum number of rows to be too large, and then Apple's DatePicker crashes.
Or, is it possible that the problem is caused by incorrectly setting the DatePicker multiple times somewhere, because this bug is rare.
Alternatively, sometimes, weird problems occur when setting up UI classes using non-main threads.