CYLTabBarController icon indicating copy to clipboard operation
CYLTabBarController copied to clipboard

[bug]:使用EasyNavigationController创建控制器的时候,点击tabbar按钮会导致按钮消失

Open DogTwoChen opened this issue 4 years ago • 0 comments

-(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;

}

截屏2021-05-27 下午6 16 41 截屏2021-05-27 下午6 17 07

DogTwoChen avatar May 27 '21 10:05 DogTwoChen