dito010 / JPNavigationController

This library provides an fullScreen pop and push gesture for UINavigationController with customize UINavigationBar for each single support.
http://www.jianshu.com/p/88bc827f0692
MIT License
362 stars 74 forks source link

跳转崩溃 #20

Closed DeveInfo closed 6 years ago

DeveInfo commented 7 years ago

appdelegate.m: UITabBarControllertab = (UITabBarController)self.window.rootViewController;

UINavigationController*nvc = tab.selectedViewController;

UIViewController*vc = nvc.visibleViewController;

LessonModel *model = [self getModelDic:userInfo];
LessonDetailViewController *LDVC = [LessonDetailViewController new];
LDVC.hidesBottomBarWhenPushed = YES;
LDVC.model = model;
[(BaseNavGationController *)vc.navigationController pushViewController:LDVC animated:YES];

崩溃至JPNavigationController.m 147行

dito010 commented 7 years ago

请提供更多堆栈信息.