DKImagePickerController icon indicating copy to clipboard operation
DKImagePickerController copied to clipboard

Scroll to previous selected images

Open LucidityDesign opened this issue 9 years ago • 4 comments

Scenario: A user selects a couple of images from a couple of weeks ago (he has to scroll a while to find 'em). After he clicks Done he wants to add another image from the same time and opens the image picker again.

Actual State: The image picker shows the latest pictures (scrollOffsetY == 0)

Target State: The image picker scrolls to the youngest image of defaultSelectedAssets

LucidityDesign avatar Nov 04 '16 14:11 LucidityDesign

@LucidityDesign Did you able to set your Target State ?

sivabonigeni avatar Apr 12 '18 14:04 sivabonigeni

I think the problem was that I initialized a new instance instead of re-using the old one. But I'm not sure anymore.

LucidityDesign avatar Apr 18 '18 14:04 LucidityDesign

There is currently no way to scroll to a specific asset in a new instance. Do you have any ideas?

zhangao0086 avatar Apr 25 '18 13:04 zhangao0086

Just use the old instance :)

LucidityDesign avatar Apr 27 '18 13:04 LucidityDesign