之前介绍过通过监听tababr实现点击item刷新 在这基础上 切换页面 只要一句代码 self.TabarController.selectedIndex = 0 //这边0 1 2 3 分别代表tabor下面控制的子视图数组的序号