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
I'm working on an app that incorporates WYPopoverController and it works great in place where it should. I want to add custom animations between two controllers, instead of built in push / pop.
In navigation controller containing FROM and TO controllers I don't do anything related to the WYPopoverController, neither in controllers FROM and TO.
I've implemented navigation controller delegate, really simple and animator class that handles actual animation.
In the FROM controller I initialize navigation delegate
overridepublicfunc viewDidLoad(){
super.viewDidLoad()// ... some other code hereself.navigationController?.delegate =NavigationControllerDelegate()}
Everything compiles and runs up until the point when I tap the (collection) cell and want to move to TO controller. At that point app crashes with error:
-[CALayer navigationController:animationControllerForOperation:fromViewController:toViewController:]: unrecognized selector sent to instance 0x7fc72e53e970
I've added a breakpoint and I end up inside sizzled_pushViewController:animated: method of UINavigationController. To be honest I have no idea how to approach the issue.
The text was updated successfully, but these errors were encountered:
I'm working on an app that incorporates WYPopoverController and it works great in place where it should. I want to add custom animations between two controllers, instead of built in push / pop.
In navigation controller containing FROM and TO controllers I don't do anything related to the WYPopoverController, neither in controllers FROM and TO.
I've implemented navigation controller delegate, really simple and animator class that handles actual animation.
In the FROM controller I initialize navigation delegate
Everything compiles and runs up until the point when I tap the (collection) cell and want to move to TO controller. At that point app crashes with error:
I've added a breakpoint and I end up inside
sizzled_pushViewController:animated:
method of UINavigationController. To be honest I have no idea how to approach the issue.The text was updated successfully, but these errors were encountered: