UITabBarController *tabBarCtrl = [UITabBarController new]; tabBarCtrl.selectedIndex = 1; //手动选取下标为1的视图控制器