我有一个RootViewController,它没有设置为Storyboard上任何ViewController的自定义类。相反,我所有的ViewController都像这样子类化这个类。//RootViewControllerclassRootViewController:UIViewController,UITabBarDelegate{//ThisisnotgettingexecutedonanyoftheviewcontrollersfunctabBar(tabBar:UITabBar,didSelectItemitem:UITabBarItem){print("ddd")}}
我有一个RootViewController,它没有设置为Storyboard上任何ViewController的自定义类。相反,我所有的ViewController都像这样子类化这个类。//RootViewControllerclassRootViewController:UIViewController,UITabBarDelegate{//ThisisnotgettingexecutedonanyoftheviewcontrollersfunctabBar(tabBar:UITabBar,didSelectItemitem:UITabBarItem){print("ddd")}}