Giter Site home page Giter Site logo

Comments (8)

Casporro avatar Casporro commented on September 27, 2024

If a want something like this:

image.fetchImageWithSize(CGSizeMake(640, 240), completeBlock: {
    (image: UIImage?) -> Void in
    imageView.image = image
})

image.fetchImageWithSize(CGSizeMake(750, 1334), completeBlock: { //This block executes twice
    (image: UIImage?) -> Void in
    imageView2.image = image //This line executes twice
})

And the second complete block of fetchImage method executes twice...

from dkimagepickercontroller.

Casporro avatar Casporro commented on September 27, 2024

In conclusion... the call (if is only one) or the last call (if are more than one) of any method fetchImage executes twice...

from dkimagepickercontroller.

zhangao0086 avatar zhangao0086 commented on September 27, 2024

Fixed.

from dkimagepickercontroller.

zhangao0086 avatar zhangao0086 commented on September 27, 2024

@Casporro
Thanks ~! 328178e

from dkimagepickercontroller.

sandeepbol avatar sandeepbol commented on September 27, 2024

This issue is happening again on latest release (3.5.7)

from dkimagepickercontroller.

i0sa avatar i0sa commented on September 27, 2024

yup still happening

from dkimagepickercontroller.

zhangao0086 avatar zhangao0086 commented on September 27, 2024

@i0sa Could you try the 4.0.0-Beta?

from dkimagepickercontroller.

i0sa avatar i0sa commented on September 27, 2024

@zhangao0086 yes i did, same thing happening, fetching image with specific sizes excutes twice, once with image with size of (120,80) and once again with original image size

supposedly "fetchImage(with: CGSize()" is supposed to return image with my selected size ? in fact it returns original size,
what's the issue ?

from dkimagepickercontroller.

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.