1、隐藏里面的线条。
在代理方法titleForRow方法中写上:pickerView.subviews[1].hidden=YES; pickerView.subviews[2].hidden=YES;
2、改变字体的颜色。
自定义UIPickerView的每一行lable。
- (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view;
在此方法中用自定义的UILabel来返回。就是用UILabel替换系统的UIView控件以便于修改字体大小和颜色以及对齐等等