Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/qt/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
iOS中UIDatePicker的奇怪泄漏_Ios_Instruments - Fatal编程技术网

iOS中UIDatePicker的奇怪泄漏

iOS中UIDatePicker的奇怪泄漏,ios,instruments,Ios,Instruments,我的应用程序中存在UIDeviceGBColor漏洞 这似乎是UIKIt的一个问题 问题如下: 泄漏位于棕色代码中: 有人遇到过这个问题吗?是的,我也有同样的问题 设备上安装了iOS 6.0,但我的漏洞是: [pickerDate setDatePickerMode:UIDatePickerModeDate]; [pickerDate setMinimumDate:minimumDate]; [pickerDate setMaximumDate:today]; [pickerDate se

我的应用程序中存在UIDeviceGBColor漏洞

这似乎是UIKIt的一个问题

问题如下:

泄漏位于棕色代码中:


有人遇到过这个问题吗?

是的,我也有同样的问题

设备上安装了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
可能重复,请参阅

**对不起,这应该是评论而不是回答**