self.tabBarController.selectedIndex

KindViewController *vc =((UINavigationController *) [self.tabBarController viewControllers][1]).viewControllers[0];
                vc.countryName = ((ObjForCountryArray *)self.countryModel.obj[index]).poc_name;
                vc.isHomePush = YES;
                self.tabBarController.selectedIndex = 1;

 

posted @ 2017-09-12 17:19  宁静暖风  阅读(1389)  评论(0编辑  收藏  举报