Coder Social home page Coder Social logo

Comments (3)

dzenbot avatar dzenbot commented on May 27, 2024

DZNPhotoPickerController intends to mimic UIImagePickerController as close as possible, while still adding some cool features. It has not being designed for multiple photo selection, like Whatsapp's or Facebook pickers. That goes a little bit out of the project's scope.

Maybe an option would be, with the help of a bool flag, to limit the resulting payload only with the source url of the selected photo, no UIImage, so the UI doesn't block because of downloading. Then, it's your app's responsibility to download the images whenever requiered.

Feel free to collaborate on this one.

from dznphotopickercontroller.

steve21124 avatar steve21124 commented on May 27, 2024

Yes. Agree. no UIImage only bool flag.

from dznphotopickercontroller.

dzenbot avatar dzenbot commented on May 27, 2024

To make this work, you'll need to set 2 flags:
picker.allowsEditing = NO;
picker.enablePhotoDownload = YES;

You will then get all the photo metadata, expect the UIImages, after the user selects a photo thumb.
i.e.

{
    "author_name" = "Mary G";
    "author_profile_url" = "http://500px.com/Mary1118";
    "author_username" = Mary1118;
    "source_detail_url" = "http://500px.com/photo/60913694";
    "source_id" = 60913694;
    "source_name" = 500px;
    "source_url" = "http://ppcdn.500px.org/60913694/9a3ac952139b2564ec90e67d3423ce4f0be389ad/4.jpg";
}

from dznphotopickercontroller.

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.