Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added: custom image failure response #225

Merged
merged 3 commits into from
Apr 28, 2017

Conversation

oliveroneill
Copy link
Contributor

@oliveroneill oliveroneill commented Jan 8, 2017

When an image fails to load there is no way to implement a custom behaviour for this. I've added a method to IDMPhotoBrowserDelegate that will be called when an image fails to load. The method will also pass in the UIImageView so a custom image may be shown.

I'd also like to note that IDMZoomingScrollView's displayImageFailure method was never called due to imageLoadingComplete not being called unless the image succeeded. I've fixed this with my change to IDMPhoto. I can make this a separate commit, if you'd like.

@MattCarr147
Copy link

Are there any plans to merge this in?

@eduardocallado eduardocallado merged commit 6bd2733 into thiagoperes:master Apr 28, 2017
@oliveroneill oliveroneill deleted the custom_image_failure branch May 25, 2017 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants