Coder Social home page Coder Social logo

done button not called about qbimagepicker HOT 10 OPEN

bupojung avatar bupojung commented on July 18, 2024
done button not called

from qbimagepicker.

Comments (10)

Mirach0rus avatar Mirach0rus commented on July 18, 2024

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

from qbimagepicker.

StarWars avatar StarWars commented on July 18, 2024

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

from qbimagepicker.

LunevNF avatar LunevNF commented on July 18, 2024

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.

from qbimagepicker.

LunevNF avatar LunevNF commented on July 18, 2024

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

from qbimagepicker.

ctwlilei avatar ctwlilei commented on July 18, 2024

me too. use cocoa pods 2.6.0
iOS 9.2

from qbimagepicker.

erdinckolukisa avatar erdinckolukisa commented on July 18, 2024

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 ?

from qbimagepicker.

nahlam avatar nahlam commented on July 18, 2024

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?

from qbimagepicker.

LunevNF avatar LunevNF commented on July 18, 2024

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?

from qbimagepicker.

yao23 avatar yao23 commented on July 18, 2024

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

from qbimagepicker.

StarWars avatar StarWars commented on July 18, 2024

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

from qbimagepicker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.