YPImagePicker
YPImagePicker copied to clipboard
Memory still increasing if cancelling the picker
When I open the picker, I choose a photo, on the filter screen I don't use any filter and I click on the back button, I click on the cancel button to close the picker, each new opening of the picker the memory increases by 30mb
Any Help please ?
Environment :
- Device: Iphone 11
- OS: IOS 13.3
- Xcode Version 12.0
- Swift Version 5.0 - Project in ObjC
Installation Type
- Cocoapods :
- pod 'YPImagePicker', '~> 5.2'
Is this project still maintained ? can someone give me some help ? thank @NikKovIos
Hello @calaforrai ! I can't reproduce this behavior with the leak using the default example project YPImagePickerExample. Please, explore it and I hope it would help you understand what creates the leak in you case.
Tip: To make it work on Xcode 13 you have add the dependencies using SPM.
@heitara Thank for your answer but the example project seems to not work on xcode 12 I'm getting this errors
Type 'ExampleViewController' does not conform to protocol 'YPImagePickerDelegate'
Cannot infer contextual base in reference to member 'ypSystemBackground'
Which branch are you using? Master?
I can try tomorrow with a completely new checkout and I'll let you know what I see.
Yes I try with the master
Right now I've tried the last commit in master branch and it build well. Xcode 13.2.1 (13C100)
Ok but the example project seems to not work with xcode 12, I can't update my macbook (Catalina max) so I can't install xcode 13 too, the master branch can be compatible with xcode 12 ?
I don't know. Try to fix this error and make a PR.