美文网首页
更改UIPickerView选中框颜色

更改UIPickerView选中框颜色

作者: 海文_L | 来源:发表于2017-01-20 09:17 被阅读374次

[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选中框颜色

      本文链接:https://www.haomeiwen.com/subject/cbswbttx.html