Answers for "how to call a mothod when tab item is tapped in swiftUI"

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 "how to call a mothod when tab item is tapped in swiftUI"

Code answers related to "Swift"

Browse Popular Code Answers by Language