Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Theme the IOS UI Picker using Monotouch

I have a monotouch project and I am trying to theme the uipicker without any luck. I have tried setting backgroundcolors to clear however none seem to do much.

To start with I don't want to do anything to difficult I really just want to be able to clear the black background then remove the 2 tone gradient bar that the picker is inside.

Any monotouch gurus care to lend a hand?

like image 665
Diver Dan Avatar asked Nov 19 '25 22:11

Diver Dan


1 Answers

It is not an easy task (Apple doesn't have a clear cut way to do this). Read some of the options here.

So you can either:

  • Create an image with a transparent center to add a UIImageView as a subview,
  • Try settings properties on a Subview of UIPickerView
  • Try porting their IXPickerOverlayView to MonoTouch
like image 119
jonathanpeppers Avatar answered Nov 22 '25 22:11

jonathanpeppers



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!