objective c - Disable swipe feature of ios app which moves it to previous screen -


I think this is the OS level feature in iOS, with which the user swipe the current view back to the previous screen You can. on the right side. It only needs to touch the left edge of one scene and move it in the right direction. You can see it in the screenshot below.

Just going back to the previous screen by swiping

The problem is that the user only logs in to log in because it causes the logging of the screen swiping from right to the left, although there is no back button when logging on the screen. This is severely affecting the overall functionality of my app.

Does anyone know how to disable this moving back feature on swipe and just limit it to the back button?

Use this code in your view controller.

  If ([self.navigationController answers Teselector: @Selector (Interactive Pop Gesture Litterman)]) {self .navigationController.interactivePopGestureRecognizer.enabled = No;}  

Hope this code is useful for you.


Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -