更改UIPickerView选中框颜色

[pickerView.subviewsobjectAtIndex:1].layer.borderWidth=0.5f;

[pickerView.subviewsobjectAtIndex:2].layer.borderWidth=0.5f;

[pickerView.subviewsobjectAtIndex:1].layer.borderColor= [UIColorredColor].CGColor;

[pickerView.subviewsobjectAtIndex:2].layer.borderColor= [UIColorredColor].CGColor;

你可能感兴趣的:(更改UIPickerView选中框颜色)