【问题标题】:Strange Leak with UIDatePicker in iOS [duplicate]iOS中UIDatePicker的奇怪泄漏[重复]
【发布时间】:2012-10-26 15:26:34
【问题描述】:

我的应用中有 UIDeviceRGBColor 泄漏。

这似乎是 UIKIt 的问题。

以下是问题:

泄漏位于棕色提到的代码中:

有人遇到过这个问题吗?

【问题讨论】:

    标签: ios instruments


    【解决方案1】:

    是的,我也遇到了同样的问题...

    iOS 6.0 在设备上,但我的泄漏:

    [pickerDate setDatePickerMode:UIDatePickerModeDate];
    [pickerDate setMinimumDate:minimumDate];
    [pickerDate setMaximumDate:today];
    
    [pickerDate setDate:currentDateObject animated:YES]; // here is the leak, if I remove this line there is no leak, and leaks also a UIDeviceRGBColor
    

    可能重复,见this question

    ** 抱歉,这应该是评论而不是答案 **

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-10-01
      • 2011-09-08
      • 2012-07-06
      • 2011-08-10
      • 1970-01-01
      • 2011-04-13
      • 2011-11-30
      相关资源
      最近更新 更多