AssetsPickerViewController icon indicating copy to clipboard operation
AssetsPickerViewController copied to clipboard

Immediate crash when scrolling very fast on device

Open zongziyao opened this issue 4 years ago • 5 comments

App will crash immediately when scrolling extremely fast on photo picker controller. I only experience this on real device.

I'm currently running it on iPhone 6s using iOS 13.0 GM. I also came across with the same issue on 13.0 beta8 and 13.1 beta3. Not sure if it applies to iOS 12.

image image

AssetsManager.swift image

AssetsPhotoViewController.swift image

By the way thank you for this amazing assets picker! I really enjoy this iOS native style UI. Keep working!! 💪

zongziyao avatar Sep 13 '19 12:09 zongziyao

OMG I think I have to investigate it after get an older device. I couldn't reproduce it with my device(iPhone 8+).

DragonCherry avatar Oct 10 '19 05:10 DragonCherry

OMG I think I have to investigate it after get an older device. I couldn't reproduce it with my device(iPhone 8+).

Thanks for replying. I then tested it out that even the native Photos app will crash when scrolling very fast. It may due to enormous bugs of iOS 13 haha! But in my another working project in which I incorporated with another third-party image picker, the problem is gone.

zongziyao avatar Oct 10 '19 14:10 zongziyao

Any update on this ?

mikemike396 avatar Mar 22 '20 15:03 mikemike396

Please consider replacing this library with PHPickerViewController.

DragonCherry avatar Sep 17 '20 04:09 DragonCherry

Please consider replacing this library with PHPickerViewController.

This is iOS 14+ tho (https://developer.apple.com/documentation/photokit/phpickerviewcontroller). Wont work for most apps for a few years till we can target 14 min.

mikemike396 avatar Sep 17 '20 14:09 mikemike396