I've got a UIPickerView
as the inputView
of a UITextField
and can successfully set the background on iOS 8:
statePicker.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.25f];
But on iOS 7, I'll be damned if every single thing I've tried from other answers just results in this:
Thoughts?
Verify your UITextField does not have his Appearance
value set to Dark
in the attributes inspector, just below the Keyboard Type
setting. If so set it back to Default
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With