marty-suzuki / SAHistoryNavigationViewController

SAHistoryNavigationViewController realizes iOS task manager like UI in UINavigationContoller. Support 3D Touch!
MIT License
1.57k stars 91 forks source link

Added support for landscape orientation #48

Closed ratzinho87 closed 7 years ago

ratzinho87 commented 7 years ago

Added support for mixing landscape and portrait orientations when navigating through a UINaivigationController. This feature is especially useful for tablets, where supporting just one orientation is not practical.

In regards to supporting both portrait and landscape, there is one aspect worth discussing: when restoring a landscape screenshot into a portrait screen or viceversa, how should the animation look? Stretching the photo to fill the new size did not look right to me, so I left the old behavior, which zooms the image until it hits one of the screen's edges, then, it is replaced by destination VC with the proper bounds.

marty-suzuki commented 7 years ago

Thank you! I've merged!