lxcid/LXReorderableCollectionViewFlowLayout

-[LXReorderableCollectionViewFlowLayout handleApplicationWillResignActive:] crash

Closed this issue · 5 comments

Crashlytics report:

Exception Type: EXC_BAD_ACCESS Code: KERN_INVALID_ADDRESS at 0x1965

LXReorderableCollectionViewFlowLayout.m line 489
-[LXReorderableCollectionViewFlowLayout handleApplicationWillResignActive:]

  • (void)handleApplicationWillResignActive:(NSNotification *)notification {
    self.panGestureRecognizer.enabled = NO; // Line 489
    self.panGestureRecognizer.enabled = YES;
    }

I'm seeing this too. Every time the user tries to switch away from the app after using this class.

I'm open to PR for this issue though. Any taker?

Yep, working one up now. The UIApplicationWillResignNotification isn't being removed on dealloc.

Awesome man! Thanks for the fix! :D

Closing since its seems to be fixed. :)