You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+1, I used to call tabBarController(tabBarController: UITabBarController, didSelectViewController viewController: UIViewController) and it worked fine before, but since I adopted RAMAnimatedTabBarController this method isn't called anymore; I tried changing the type in the function name, but didn't work... any suggestions?
EDIT
I actually found a workaround for what I need: inside the function tapHandler(gesture: UIGestureRecognizer), under let currentIndex = gesture.view!.tag and above if selectedIndex != currentIndex { I added:
if (self.delegate != nil) {
self.delegate?.tabBarController!(self, didSelectViewController: self.selectedViewController!)
}
If needed, the same code also works inside setSelectIndex(#from:Int,to:Int), just under selectedIndex = to
You can't delegate RAMAnimatedTabBarController.
The text was updated successfully, but these errors were encountered: