Why UIPickerView
is not %100 opaque?
When I set text color to white and put UIPickerView on a red background, the UIPickerView items have a reddish white text color.
I tried custom views using viewForRow
, but still no effect.
How can I set opacity of UIPickerView to %100? In IB it's alpha is 1 but actually in runtime it isn't
Please try this delegate and make your own customize view and return it.
-(UIView *)pickerView:(UIPickerView *)pickerView viewForRow:
来源:https://stackoverflow.com/questions/39325827/why-uipickerview-is-semi-transparent