Implementing hidesNavigationBarWhenPushed on #uiviewcontroller
▻https://hackernoon.com/implementing-hidesnavigationbarwhenpushed-on-uiviewcontroller-10d8a68bca
It’s been a while since my last post.I am back and hoping to dedicate more time to writing tutorials and open sourcing interesting things.What this post is about?In this post I want to go through the recently published HidesNavigationBarWhenPushed library and explain the motivation behind that, as well as the implementation.hidesNavigationBarWhenPushed in action (With interactive pop gesture recognizer)MotivationWhile hacking on various projects, time to time I get designs where view controller A has navigation bar visible, and view controller B has it hidden. It was always a pain to make it work.The simplest solution would be:▻https://medium.com/media/ab44bd8c5b6fec3d741ac6848ac1f366/hrefAnd it would work like this:That did not quite work, since the key requirement was to keep navigation (...)