Photo Browser / Viewer inspired by Facebook's and Tweetbot's with ARC support, swipe-to-dismiss, image progress and more
2.71k
stars
641
forks
source link
Crash: setProgressUpdateBlock: unrecognized selector sent to instance #288
Open
johnvuko opened 6 years ago
Hi, when I used a custom implementation of
IDMPhotoProtocol
I have this crash. It's because you cast an object inIDMPhoto
class inconfigurePage
method: https://github.com/thiagoperes/IDMPhotoBrowser/blob/4037cdb7bfa7425fc398e0b27702273bf10298bd/Classes/IDMPhotoBrowser.m#L1041I suggest you just add
setProgressUpdateBlock
toIDMPhotoProtocol
.Thanks.