I've followed various tutorials and downloaded multiple versions of custom UINavigationController custom transition animation examples:
- https://www.appcoda.com/custom-view-controller-transitions-tutorial/ - https://github.com/appcoda/CustomViewTransitionDemo
- https://github.com/robertmryan/Interactive-Custom-Transitions-in-Swift
And what I've written and what I've downloaded all suffer from the same problem. After presenting a new view controller, if I rotate the device and then navigate back, none of the previous view controllers in the stack have been rotated. It feels like by using the custom animation I've removed the view controller from the UINavigationControllers child controllers and so it doesn't send any of the rotation messages that it receives on down.
Has anyone run into this? Am I, and all of these other people doing something wrong? Or is this an un-intended consequence of custom transition animations with UINavigationControllers?
I've tested on device and simulator with the same results.
After writing none above it made me think what would happen if one of my transitions wasn't custom, so I tested that and the non-custom animated transition doesn't have this issue, the view controller transitioned from still gets rotation message appropriately. So this issue is specifically tied to using a custom transition animation.