Answers for "Access the tabbar on click in swift"

0

accessing tab bar item action swift

class yourclass: UIViewController, UITabBarDelegate {
    func tabBar(tabBar: UITabBar, didSelectItem item: UITabBarItem) {
        //This method will be called when user changes tab.
    }
}
Posted by: Guest on April-03-2020

Code answers related to "Swift"

Browse Popular Code Answers by Language