CooperRS / RMPickerViewController

This is an iOS control for selecting something using UIPickerView in an UIAlertController like manner
MIT License
381 stars 51 forks source link

Change color of picker view #59

Closed kishykumar closed 7 years ago

kishykumar commented 7 years ago

AFAIK there are only 2 styles for the picker view: Black and White. How do I customize it? Can I change the color of the picker view/ border etc?

CooperRS commented 7 years ago

Hi there!

This is because RMPickerViewController only uses standard Apple classes (that is UIPickerView and UIBlurEffect). UIPickerView is merely customisable and UIBlurEffect basically has only two styles: Light (and ExtraLight) and Dark (and ExtraDark).

However, you might want to start with the underlying RMActionController and use your own picker view as content. Then you have total control 🙂.

Best regards, Roland