I don’t use UITabbarController,I just add the UITabbar in ViewController.I know when we use UITabbarController,we will create one array which contain viewcontrollers,so when we tap the tab,will show the specific viewcontroller,but the UITabbar just can add UITabbarItems,so how to connect the viewcontroller to the Tab?just like UITabbarController. thank you in advance.
I don’t use UITabbarController,I just add the UITabbar in ViewController.I know when we use
Share
Attach a
UITabBarDelegateto yourUITabBar:Then implement: