Joshua
Joshua

Reputation: 31

Is it possible to 're-skin' the IOS Date Picker?

I require a custom date picker, essentially just want to remove the graphics in the IOS version but retain the 3 column date scroll. Does it need to be re-built from scratch (all research points to yes) , or is it possible to just disable or swap the images.

Upvotes: 3

Views: 3028

Answers (3)

William Jockusch
William Jockusch

Reputation: 27295

I don't think you can change the images of a UIDatePicker. UIPickerView you can, but as you say, you would lose a lot of functionality.

Upvotes: 0

Tyler Zale
Tyler Zale

Reputation: 634

Change UIPickerView background check adam's answer there relating to picker views.

I have altered those before for a picker, so the datepicker might be similar.

Upvotes: 0

benwong
benwong

Reputation: 2226

I haven't tried it myself, but maybe you could just add a UIImageView above the datepicker with a transparent section for the scrolling sections to show through.

Upvotes: 1

Related Questions