CYLTabBarController
CYLTabBarController copied to clipboard
[bug]:使用EasyNavigationController创建控制器的时候,点击tabbar按钮会导致按钮消失
-(NSArray<UIViewController *> *)wtViewControllers { WTHomeViewController *homeVC = [[WTHomeViewController alloc]init]; WTOrderViewController *orderVC = [[WTOrderViewController alloc]init]; WTBenefitViewController *benefitVC = [[WTBenefitViewController alloc]init]; WTCouponViewController *couponVC = [[WTCouponViewController alloc]init];
UIViewController *homeNVC = [[EasyNavigationController alloc]initWithRootViewController:homeVC];
UIViewController *orderNVC = [[EasyNavigationController alloc]initWithRootViewController:orderVC];
UIViewController *benefitNVC = [[EasyNavigationController alloc]initWithRootViewController:benefitVC];
UIViewController *couponNVC = [[EasyNavigationController alloc]initWithRootViewController:couponVC];
NSArray *viewControllers = @[homeNVC, orderNVC, benefitNVC, couponNVC];
return viewControllers;
}