UIDatePicker and UIPickerView

Sometimes it is necessary to adjust the color of the standard UIDatePicker  and UIPickerView  controls within your iOS application. Sadly the iOS SDK doesn’t support to change the background color or even the tint of these controls. A simple workaround for this is to create separate images and use them within an UIImageView  as your custom overlay. For this solution I made some simple photoshop templates which you’ll find over here. These photoshop templates are already made for the iPhone retina display and you can scale them down by your own.

Below you’ll find an example with a custom black-grey-based overlay for the UIDatePicker  and UIPickerView . Hope this is helpful for somebody.

 

post_uipickerview_example2 post_uipickerview_example1

Leave a Reply

Your email address will not be published. Required fields are marked *