I have a navigation stack in which all view controllers are in portrait except one view controller which I have to push in landscape.
I would like to push the view controller in landscape orientation with a custom animation however if I try to push the landscape view controller on the same navigation stack, iOS also gives a rotation animation which I want to disable.
So the question is, how do I disable the default rotation animation when pushing a view controller in landscape orientation and also have a custom animation added while pushing ?