ECSlidingViewController在第二次滑动时崩溃

时间:2014-09-24 04:07:53

标签: ecslidingviewcontroller

我正在使用ECSlidingViewController v2构建一个新项目。我第一次滑动打开左侧视野,效果很好。但是当我第二次刷卡时,我得到一个EXC_BAD_ACCESS崩溃。引用是控制器中的NSMapTable。

- (void)updateTopViewGestures {
    BOOL topViewIsAnchored = self.currentTopViewPosition == ECSlidingViewControllerTopViewPositionAnchoredLeft ||
                         self.currentTopViewPosition == ECSlidingViewControllerTopViewPositionAnchoredRight;
    UIView *topView = self.topViewController.view;

    if (topViewIsAnchored) {
       ...
    } else {
        ...
--->    [self.customAnchoredGesturesViewMap removeAllObjects];
    }
}

0 个答案:

没有答案