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

store cgpoint in userdefaults iOS swift