Swift gets the TabBar information where the controller is located

You can get the Controller of the Tabbar where it is located through self.tabBarController

 

Then you can switch the bottom tabbar through selectedIndex

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326215060&siteId=291194637