tags:

views:

31

answers:

1

HI I would like to change the background color of the UIDatePicker from the current glossy image to clear just like in this example

alt text

Any ideas how to do that? I tried

datepicker.backgroundColor = [UIColor clearColor];

but it didnt work.

A: 

similar question

http://stackoverflow.com/questions/1296776/how-to-change-uipicker-color-iphone

Aaron Saunders
thanks for your help. A much easier way is to create an image in Photoshop or Illustrator with a hole in the middle (using the masking tool) and placing that on top of the UIDatePicker - and that hides the standard edge of the Picker.
Matthew Pateman