MyTabbarController * tab = [[MyTabbarController alloc]init];
AppDelegate *delegate = (AppDelegate*)[[UIApplication sharedApplication]delegate];
tab.selectedIndex = 1;
[delegate changeRootViewCtrl:self ToViewCtrl:tab];
tab会全部重载
博客展示了MyTabbarController的初始化代码,将其赋值给变量tab,设置其选中索引为1,并通过AppDelegate的方法进行根视图控制器的切换,同时提到tab会全部重载,属于移动开发相关内容。
MyTabbarController * tab = [[MyTabbarController alloc]init];
AppDelegate *delegate = (AppDelegate*)[[UIApplication sharedApplication]delegate];
tab.selectedIndex = 1;
[delegate changeRootViewCtrl:self ToViewCtrl:tab];
tab会全部重载

被折叠的 条评论
为什么被折叠?