Julioacarrettoni / UIImageView_FaceAwareFill

This category applies Aspect Fill content mode to an image and if faces are detected it centers them instead of centering the image just by its geometrical center.
MIT License
1.06k stars 77 forks source link

Original image shown for a brief moment, then changed to the faceAware one #10

Open oferRounds opened 7 years ago

oferRounds commented 7 years ago

Hi @Julioacarrettoni!

Thanks first of all for this awesome library!

Looks great, I just have one problem. I use it show images which are downloaded from our server (using PinRemoteImage), and I get the issue where the original image is shown for a brief moment, and then the one which uses the FaceAware feature appears. Is there an option to prevent the original image from appearing (i.e., keep showing the Loading Indicator), until the final one is ready?

Thanks again! Ofer