R
R
RaphaeI2018-05-18 12:17:58
iOS
RaphaeI, 2018-05-18 12:17:58

How to make swipe in NavigationController work on all areas of the screen, and not just on the left?

Pulled out the NavigationController on the storyboard, connected the scenes to it. The scene called via push can be closed with the back button and swipe by moving your finger to the left edge of the screen. How can I make the swipe work across the entire screen, and not just at the left edge?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
doublench21, 2018-05-19
@doublench21

Yes, nothing complicated. Great example https://medium.com/@ludvigeriksson/custom-interact...
The main idea is to implement two protocols UIViewControllerTransitioningDelegate and UIViewControllerAnimatedTransitioning. Already in the implementation itself, you yourself will add any gestures.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question