QBImagePicker icon indicating copy to clipboard operation
QBImagePicker copied to clipboard

done button not called

Open bupojung opened this issue 9 years ago • 10 comments

select photos and click done button, but the delegate not call, the done action also not call

bupojung avatar Aug 04 '15 08:08 bupojung

Hi! I have a similar problem. How you solved the problem?

Mirach0rus avatar Oct 29 '15 08:10 Mirach0rus

@Mirach0rus @bupojung you should probably implement the following delegate method: -(void)qb_imagePickerController:(QBImagePickerController *)imagePickerController didSelectAssets:(NSArray *)assets

StarWars avatar Oct 30 '15 09:10 StarWars

Hi. Actualy, I have the same problem. Your answer not help me. I already implement delegate this method and method, when user tap Cancel button. This method are called normaly: (void)qb_imagePickerControllerDidCancel:(QBImagePickerController *)imagePickerController But this method not called: -(void)qb_imagePickerController:(QBImagePickerController *)imagePickerController didFinishPickingAssets:(NSArray *)assets

What need I do? Help me, please.

LunevNF avatar Nov 09 '15 19:11 LunevNF

This method not worked: -(void)qb_imagePickerController:(QBImagePickerController *)imagePickerController didFinishPickingAssets:(NSArray *)assets

But this method - worked for "Done" button: -(void)qb_imagePickerController:(QBImagePickerController *)imagePickerController didSelectAssets:(NSArray *)assets

LunevNF avatar Nov 10 '15 07:11 LunevNF

me too. use cocoa pods 2.6.0 iOS 9.2

ctwlilei avatar Dec 15 '15 09:12 ctwlilei

i face the same problem. didFinishPickingAssets not fired. So i used didSelectAssets method. But i have a problem maybe related with that method. I allowed to select 10 images. But it loads only 7 or 8 images. How can i make the didFinishPickingAssets run ?

erdinckolukisa avatar Feb 11 '16 16:02 erdinckolukisa

QBImagePickerController delegate has weak reference that's why it's passed as nil to QBAlbumsViewController . I don't know what should be the best solution in this situation. Any updates?

nahlam avatar May 31 '16 14:05 nahlam

When I choose pics, I can select 10 and more images. So, the best way to use didSelectAssets. Maybe, author will make new commit without bugs, what we are found?

LunevNF avatar May 31 '16 14:05 LunevNF

I update data in didSelectAsset() and refresh to update UI in didFinishPickingAssets(), it works well.

yao23 avatar Mar 23 '17 20:03 yao23

I don't get done button callbacks for any of the delegate methods in the newest 3.4.0 version

StarWars avatar Sep 11 '18 13:09 StarWars