Commit f42acf3e authored by Steven杜宇's avatar Steven杜宇

// 选择器

parent 77e84170
......@@ -493,7 +493,7 @@ extension YHFormPickerView: UIPickerViewDelegate, UIPickerViewDataSource {
}
}
// 选中背景色
if #available(iOS 14.0, *), self.subviews.count > 1 {
if #available(iOS 14.0, *), pickerView.subviews.count > 1 {
pickerView.subviews[1].backgroundColor = UIColor(hex: 0x4487F9, alpha: 0.06)
}
return label
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment