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.
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
Post a Comment