When I detected the user was watching the last picture, I downloaded more dynamically by checking the current index of the photo, loading more, and then refreshing the photoBrowser
photoBrowser.reloadData()
So the user could swipe through an infinite amount of pictures as more were added dynamically without having to close the photo browser.
My code still has the delegate methods, but for some reason they do not get called on IDM despite having protocols available.
I was using MWPhotoBrowser for a very long time, but when I noticed it hasn't been updated for over year, I decided to use this fork instead.
I was able to quickly adapt most of my code for IDMPhotoBrowser, but there's a few things that are bothering me.
My app can download images as the user swipes images in the photo browser. To be able to do this, MWPhotoBrowser provided some delegate methods:
When I detected the user was watching the last picture, I downloaded more dynamically by checking the current index of the photo, loading more, and then refreshing the photoBrowser
So the user could swipe through an infinite amount of pictures as more were added dynamically without having to close the photo browser.
My code still has the delegate methods, but for some reason they do not get called on IDM despite having protocols available.