更改UIPickerView选中框颜色

2017-01-20  本文已影响374人  海文_L

[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;

上一篇下一篇

猜你喜欢

热点阅读