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

iOS 7 : crash exiting from EGOPhotoViewer (fixed) #33

Open
neywen opened this issue Sep 17, 2013 · 5 comments
Open

iOS 7 : crash exiting from EGOPhotoViewer (fixed) #33

neywen opened this issue Sep 17, 2013 · 5 comments

Comments

@neywen
Copy link

neywen commented Sep 17, 2013

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]

@zzz6519003
Copy link

why not give a pull request~

@zzz6519003
Copy link

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

zzz6519003 added a commit to zzz6519003/PhotoViewer that referenced this issue Sep 22, 2013
@Dimmy3
Copy link

Dimmy3 commented Oct 3, 2013

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

@anuj-rajput
Copy link

Awesome. Thanks for the quick fix

@zzz6519003
Copy link

@Dimmy3 the delegate should nil itself automatically, i think

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

No branches or pull requests

4 participants