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

Convert NsNumber, NSDate to String in iOS Swift

store cgpoint in userdefaults iOS swift