how to show action sheet from tabbar in swift 5 code example
Example: 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.
}
}