我有 6 个选项卡,我需要从选项卡“更多”中删除一些控制器

当我在“更多”选项卡上选择一些控制器时NSLog navigationConroller.viewControllers,UINavigationController有空UIViewController
NSMutableArray *controllers = (NSMutableArray *) delegate.tabBarController.viewControllers;
for (UINavigationController *item in controllers) {
NSLog(@"show %@",item.viewControllers);
}

如果我删除UIViewController我在“更多”选项卡上选择的选项卡,我有黑屏
