从子页面切换到tab,切换跟控制器

    xiaoxiao2022-07-05  130

    MyTabbarController * tab = [[MyTabbarController alloc]init];

        AppDelegate  *delegate = (AppDelegate*)[[UIApplication sharedApplication]delegate];

        tab.selectedIndex = 1;

        [delegate changeRootViewCtrl:self ToViewCtrl:tab];

    tab会全部重载

    最新回复(0)