mirror of
https://github.com/zhigang1992/ZGParallelView.git
synced 2026-04-23 11:26:59 +08:00
Make the fix more proper
This commit is contained in:
@@ -170,7 +170,7 @@ static char UITableViewZGParallelViewIsObserving;
|
||||
|
||||
- (void)dealloc{
|
||||
if (self.isObserving) {
|
||||
[self removeObserver:self forKeyPath:@"contentOffset" context:nil];
|
||||
self.isObserving = NO;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user