Can we change the color of saparator in UIPickerView with below code. I am afraid that accessing subviews could cause Apple rejection. Is it conidered as accessing private api?
[[pickerView.subviews objectAtIndex:1] setBackgroundColor:COLOR]; [[pickerView.subviews objectAtIndex:2] setBackgroundColor:COLOR];