UIDatePicker leaks

后端 未结 1 1762
臣服心动
臣服心动 2020-12-16 18:36

I appear to have a leaky UIDatePicker. I have noted memory leaks for setting the datePickerMode to show date and time. But, I\'m only trying to display date. I\'m fairly

相关标签:
1条回答
  • 2020-12-16 19:03

    This approach worked for me:

    Create the DatePicker in xib instead of the programmatic approach. Then, on the Attributes Inspector, set Mode to Date.

    0 讨论(0)
提交回复
热议问题