MultiLayerNavigation
MultiLayerNavigation copied to clipboard
使用presentModalViewController方式弹出MLNavigationController,导航器里视图控制器通过滑动退出无动画显示
//=================================================
SUNMyFavoriteViewController *myFavorVC = [[SUNMyFavoriteViewController alloc] init]; MLNavigationController *nav = [[MLNavigationController alloc] initWithNavigationBarClass:[UINavigationBar class] toolbarClass:[UIToolbar class]]; nav.canDragBack = YES; [nav pushViewController:myFavorVC animated:NO];
[self presentModalViewController:nav animated:YES];
//=================================================
使用这种方式简历导航控制器,推入新的view后,用手动滑出,没有动画显示。
这个问题解决了木有
确实presentModalViewController出来的nav 没有手势返回动画了
#define TOP_VIEW [[UIApplication sharedApplication]keyWindow].rootViewController.view 这一行改成 #define TOP_VIEW self.view
在 2014年11月4日,16:46,AlienJun [email protected] 写道:
确实presentModalViewController出来的nav 没有手势返回动画了
— Reply to this email directly or view it on GitHub https://github.com/vinqon/MultiLayerNavigation/issues/13#issuecomment-61609132.
#define TOP_VIEW [[UIApplication sharedApplication]keyWindow].rootViewController.view 这一行改成 试试 #define TOP_VIEW self.view=
改成这个之后,tabbar 另外的 nav 返回就会出现黑的
https://github.com/vinqon/MultiLayerNavigation/pull/18 用此pull 解决问题。
请问解决了没有╮(╯▽╰)╭