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
在demo上试过了,只有“其他”选中的时候为白色(也就是最后一行),代码如下,rowHeight <= 70没有问题,是我漏掉了什么吗?
// 性别 BRStringPickerView *stringPickerView = [[BRStringPickerView alloc]init]; stringPickerView.pickerMode = BRStringPickerComponentSingle; // stringPickerView.title = @"请选择性别"; stringPickerView.dataSourceArr = @[@"男", @"女", @"其他"]; stringPickerView.selectIndex = self.genderSelectIndex ; stringPickerView.resultModelBlock = ^(BRResultModel *resultModel) { self.genderSelectIndex = resultModel.index; self.infoModel.genderStr = resultModel.value; textField.text = resultModel.value; };
BRPickerStyle *customStyle = [[BRPickerStyle alloc]init]; customStyle.selectRowTextFont = [UIFont systemFontOfSize:33]; customStyle.pickerTextFont = [UIFont systemFontOfSize:33]; customStyle.selectRowTextColor = UIColor.whiteColor; customStyle.pickerTextColor = [UIColor colorWithWhite:0xffffff alpha:0.4]; customStyle.separatorColor = UIColor.blackColor; customStyle.rowHeight = 78; customStyle.pickerColor = UIColor.grayColor; stringPickerView.pickerStyle = customStyle; [stringPickerView show];
The text was updated successfully, but these errors were encountered:
补两张图:
Sorry, something went wrong.
测了一下rowHeight大于70时是有问题,这个问题已解决,晚上会统一升级更新
f93c4aa
No branches or pull requests
在demo上试过了,只有“其他”选中的时候为白色(也就是最后一行),代码如下,rowHeight <= 70没有问题,是我漏掉了什么吗?
// 性别
BRStringPickerView *stringPickerView = [[BRStringPickerView alloc]init];
stringPickerView.pickerMode = BRStringPickerComponentSingle;
// stringPickerView.title = @"请选择性别";
stringPickerView.dataSourceArr = @[@"男", @"女", @"其他"];
stringPickerView.selectIndex = self.genderSelectIndex ;
stringPickerView.resultModelBlock = ^(BRResultModel *resultModel) {
self.genderSelectIndex = resultModel.index;
self.infoModel.genderStr = resultModel.value;
textField.text = resultModel.value;
};
The text was updated successfully, but these errors were encountered: