I had the same bug for the iPad version of the app. Somehow, the iPhone version was working fine. I found a workaround to remove the white background from the UIDatePicker
.
Observation
- The white background was showing for the first date and the date below it.
- On changing the date (rolling), the white background would go away and would not come again.
Fix
To solve this problem, before showing the UIDatePicker
in the view, I manually changed the date once and then re-set the date which is to be shown like this:
[datePicker setDate:[NSDate dateWithTimeIntervalSince1970:NSTimeIntervalSince1970]];
[datePicker setDate:[NSDate date]];
//Now add the datepicker to the view that you want to.
This seems to remove the annoying white background for me. Tell me if it works for you!