PhotoViewer icon indicating copy to clipboard operation
PhotoViewer copied to clipboard

iOS 7 : crash exiting from EGOPhotoViewer (fixed)

Open neywen opened this issue 12 years ago • 5 comments

compiling with iOS7 (GM),

when I try to exit from the photo viewer, I get a crash : -[UIScrollView(UIScrollViewInternal) _notifyDidScroll] + 64

fixed using the following modification : in EGOPhotoViewController.m in dealloc () added : _scrollView.delegate = nil; before [_scrollView release]

neywen avatar Sep 17 '13 10:09 neywen

why not give a pull request~

zzz6519003 avatar Sep 22 '13 02:09 zzz6519003

and i'm so curious about why does this line of code solve the problem~ You r awesome, dude

zzz6519003 avatar Sep 22 '13 02:09 zzz6519003

Brilliant. Thanks. I was dealing with this for quite a long time and it didn't come to my mind to make delegate null.

Dimmy3 avatar Oct 03 '13 10:10 Dimmy3

Awesome. Thanks for the quick fix

anuj-rajput avatar Jan 24 '14 12:01 anuj-rajput

@Dimmy3 the delegate should nil itself automatically, i think

zzz6519003 avatar Feb 03 '14 15:02 zzz6519003