Comments (6)
设置最大最小时期,但是最小日期没效果,时间选择器能选择到1970-01-01, BAKit_DatePicker 这个类 941行设置最小日期的判断是不是有误啊
from bapickview.
设置最大最小时期,但是最小日期没效果,时间选择器能选择到1970-01-01,BAKit_DatePicker这个类941行设置最小日期的判断是不是有误啊
在么方便提供下你 vc 中关于 BAPickerView 的代码么?
from bapickview.
@luobojiangzi 在么?方便提供下你vc中关于BAPickerView的代码么?
from bapickview.
从demo里修改最小时间后没效果,是不是判断错了
- (void)setBa_minDate:(NSDate *)ba_minDate {
_ba_minDate = ba_minDate;
if (self.maxDate) {
if ([self.minDate ba_dateTimeIntervalSince1970InMilliSecond] <= [_ba_minDate ba_dateTimeIntervalSince1970InMilliSecond]) {
NSLog(@"请检查最大最小日期,最大时间必须大于最小时间");
return;
}
}
from bapickview.
从demo里修改最小时间后没效果,是不是判断错了
- (void)setBa_minDate:(NSDate *)ba_minDate {
_ba_minDate = ba_minDate;
if (self.maxDate) {
if ([self.minDate ba_dateTimeIntervalSince1970InMilliSecond] <= [_ba_minDate ba_dateTimeIntervalSince1970InMilliSecond]) {
NSLog(@"请检查最大最小日期,最大时间必须大于最小时间");
return;
}
}
此处demo数据比较老旧,自己更新下数据就好了,最新demo已经按照最新日期修复!大家可以参考下新demo!
from bapickview.
新版本 V 1.2.1 已解决!请及时更新
from bapickview.
Related Issues (12)
- 怎么设置最大月份 HOT 1
- 最终显示的数值有误 HOT 4
- 需要适配iOSX HOT 1
- 关于pickerview的两个问题 HOT 2
- ba_creatCustomPickerViewWithDataArray HOT 1
- 设置最大日期是2019-01-07,最小日期是当天,然后先滑动月份到12月,再滑动年份,年份为2019年,然后月份自动跳转为1月份,然后选择日的时候可以超过7 HOT 1
- 简介怎么是BAGridView的
- crash bug 多数组自定义数据 HOT 2
- tempView.dateType = BAKit_PickerViewDateTypeYMD; HOT 3
- 1.2.0 版本的这个错误是啥原因呢
- 苹果隐私清单是否需要支持,Does the Apple Privacy List(PrivacyInfo.xcprivacy) need support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bapickview.