We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BRDatePickerView *datePickerView = [[BRDatePickerView alloc]init]; // 2.设置属性 datePickerView.pickerMode = BRDatePickerModeHM; datePickerView.showUnitType = BRShowUnitTypeAll; datePickerView.resultBlock = ^(NSDate *selectDate, NSString *selectValue) { NSLog(@"选择的值:%@", selectValue); }; // 3.显示 [datePickerView show]; 中文默认有显示单位,但是英文下无单位 设置了BRShowUnitTypeAll,英文下也没有显示单位
The text was updated successfully, but these errors were encountered:
新增了如下属性:
/** * 自定义日期单位 * 字典格式:@{@"year": @"年", @"month": @"月", @"day": @"日", @"hour": @"时", @"minute": @"分", @"second": @"秒"} */ @property (nonatomic, copy) NSDictionary *customUnit;
Sorry, something went wrong.
No branches or pull requests
BRDatePickerView *datePickerView = [[BRDatePickerView alloc]init];
// 2.设置属性
datePickerView.pickerMode = BRDatePickerModeHM;
datePickerView.showUnitType = BRShowUnitTypeAll;
datePickerView.resultBlock = ^(NSDate *selectDate, NSString *selectValue) {
NSLog(@"选择的值:%@", selectValue);
};
// 3.显示
[datePickerView show];
中文默认有显示单位,但是英文下无单位
设置了BRShowUnitTypeAll,英文下也没有显示单位
The text was updated successfully, but these errors were encountered: