Instruments report NSDateComponents
object leaked in [_UIDatePickerMode _yearlessYearForMonth:]
. Here is screenshot, and as you can see there is no my code. How could it be? Is it an apple bug or what?
Asked
Active
Viewed 184 times
0

user996142
- 2,753
- 3
- 29
- 48
-
Could be that your app is holding onto old instances. I find that is is always a good bet to figure it is my code at fault, your milage may vary. – zaph Aug 20 '15 at 23:07
-
I use date picker only for views in my controller, and I have a weak ref to it. So, only my view keeps strong ref, and view should be deleted when my controller is deleted, is not it? – user996142 Aug 20 '15 at 23:08
-
I found similar issue: http://stackoverflow.com/questions/30662300/uidatepicker-memory-leak-in-ios-8-3 – user996142 Aug 20 '15 at 23:14