NavigationController app allow from left swipe to back,How to disable iOS swift

Solution: 

In Navigation controller by default it allows for slide from left to right to back action.If you want to disable it then use the code.

code:
self.navigationController?.interactivePopGestureRecognizer?.isEnabled = false

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift