只需在需要跳转的方法里指定 self.tabBarController.selectedIndex = index 即可。
iOS 在其他页面跳转到tabBarController的子控制器
最新推荐文章于 2021-02-01 05:32:57 发布
本文介绍了一种简单的方法来实现在iOS应用中跳转到指定的TabBarController索引位置。只需设置self.tabBarController.selectedIndex=index即可完成跳转。
1665

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



