New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting the subclass correctly #22
Comments
Hi @HackShitUp, animations should work even when the |
@marcosgriselli yeah I assumed that a navigation controller has nothing to do with it. But for some reason, none of the animations work. The relationship view controllers recognize the pan gesture, it just doesn't perform the animation. Any suggestions on how to debug this? |
@marcosgriselli I also realized that the transition works in the beginning but only when you tap the UITabBar. In other words: |
@HackShitUp It's working for me in the example app. Can you create a demo project with this error? |
@marcosgriselli sure, I'll see what I can do. I need to narrow down the scope of this project first, and that may take a while, but thank you! |
@marcosgriselli although I didn't include the scope of my own project using SwipeableTabBarController, I created a new one and was able to replicate it: |
@HackShitUp I just reviewed the project you were missing setting your That's also why any of the UI customization on the |
@marcosgriselli I realized I submitted the project carelessly without setting the storyboard's class. BUT I did figure out what prevented the animations. If the relationship view controllers conform to the UITabBarControllerDelegate like so: override func viewDidLoad() {
super.viewDidLoad()
navigationController?.tabBarController?.delegate = self
}
// MARK: - UITabBarControllerDelegate Method
func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
// ...
} |
For some reason, the animations aren't working? I think this might have to do something with one of my view controllers having a navigation controller. I'll see if I can get more info on this issue because it was working perfectly fine before I tampered with one of the view controllers on storyboard.
The text was updated successfully, but these errors were encountered: