iphone - Memory leak issue with UIImagePickerController -


I am getting a memory leak with the UIImagePickerController class.

To remove the picker, I call [Picker DismoderModel Vij Controller Permission: Yes]; In didFinishPickingImage and imagePickerControllerDidCancel .

-

The tool displays approximately 160bytes leaks as a result of this instruction:

+ [UIImagePickerController _loadPhotoLibraryIf required]

Apparently this problem is bothering many people and the solution to avoid this problem is to select a singleton class from the library to select images or use the device in the camera to capture Has been dedicated to.

Anyone want to add something?

About the need to use a singleton, motivation 7/8 To capture an accident on the capture of the image was not due to any special concern about the leak, not 160 bytes are troubled, but there is not a major problem, and therefore is not worth worrying about it (because these developers Can not be decided by).


Comments