UITabBarController从选项卡中删除控制器更多

时间:2013-01-09 14:11:35

标签: iphone ios objective-c

我有6个标签,我需要从“更多”标签中删除一些控制器 enter image description here

当我在“更多”标签和NSLog navigationConroller.viewControllers标签上选择某个控制器时,UINavigationController为空UIViewController

NSMutableArray *controllers = (NSMutableArray *) delegate.tabBarController.viewControllers;
    for (UINavigationController *item in controllers) {

        NSLog(@"show %@",item.viewControllers);
    }

enter image description here

如果我从UIViewController中删除我在“更多”标签上选择的标签,则会显示黑屏

enter image description here

0 个答案:

没有答案