YahooArchive/YangMingShan

Very slow to load when a photo album has lots of photos

Opened this issue · 3 comments

I noticed this when running my app (which uses YangMingShan) on a friend's phone. She has a lot of photos in her camera roll (~20000), and when I press the the button to open the photo picker, the app freezes for a good 2 seconds. I reproduced it by make 20000 copies of a uiimage on my own phone.

Is there anyway to limit the number of photos that are loaded initially and then paginate if the user ever scrolls that far?

I am also facing this "very slow to load" issue. I recently tried questbeat/QBImagePicker and theirs is quite fast. I like the feature set in YangMingShan so waiting for this to be fixed.

Hi @eeallen1 and @eeallen1 ,

Could you guys tell me more details? I'd like to know the Photos setting on the iPhone you tried. For example, did iCloud Photo Library switch On? Did user pick Download and Keep Originals instead of Optimizing iPhone Storage?

Thanks!

@ZZBHuang I don't quite remember, but I think that the iCloud photo library switch was on, and keep originals was also turned on (a guess because her phone was nearly out of storage)