I have a UIDatePicker in a static UITableViewCell. I tried performing it programmatically and by using storyboard in accordance with answer https://stackoverflow.com/a/13964772/4488191. It didn't help.
Xcode Instruments Leaks show that calls -[_UIDatePickerMode _yearlessYearForMonth:]
which leaks.
UIDatePicker leaks when datePickerMode
property is UIDatePickerModeDate
. When this property is default or UIDatePickerModeTime
there are no memory leaks.
Is it a UIDatePicker bug?