1

so I already searched a lot but maybe I missed something. I would want to be able to drag a view to the side and drag a new view from the left.

Like in Telegram where you can slide between chats overview and a chat itself or in the iOS Settings where you can slide right and drag the detail view to the right and the overview is coming from the left.

I do know how to do segues with a slide animation, that's not what I am asking. These segues are started ones and can not be controlled by the user.

Gavriel Cohen
  • 4,355
  • 34
  • 39
  • "in the iOS Settings where you can slide right and drag the detail view to the right and the overview is coming from the left." - This is just default `UINavigationController` behaviour. Are you sure this is what you mean? – Alex Cornforth Mar 18 '19 at 16:53
  • @AlexCornforth yes I just was not sure and I did not get it to work yet, but I guess I now understood, thanks – stealth coders Mar 19 '19 at 10:26
  • try using this in your initial viewcontroller `self.navigationController?.interactivePopGestureRecognizer?.delegate = self` so when you push VC using right swipe from left side of the screen you can able to go back. like iOS settings does. – Shahrukh Mar 19 '19 at 10:55
  • Check https://github.com/serp1412/LazyTransitions and https://stackoverflow.com/a/35510861/5790492 – Nike Kov Apr 06 '19 at 12:36

1 Answers1

0

I did not use a navigation controller behind my bottom bar controller so I had the wrong transitions. When using the native Navigation Controller on all subviews of the bottom bar navigation controller you can control toolbar items and the "slide" I mentioned.