0

I'm trying to remove the opacity from the pickerview as part of my slot machine project. I'm trying to make the rows on the pickerview to have the same look like the selected row. I looked all over but could not find something about that. I tried several things like:

pickerView.backgroundColor = UIColor.blueColor().colorWithAlphaComponent(0)

and any other things like that.. Any Help?

Peter
  • 45
  • 2
  • 10

1 Answers1

0

UIColor Picker has an option with name supportsAlpha as Bool value, You can easily set it to false.

pickerView.supportsAlpha = false
hooma7n
  • 83
  • 1
  • 4