I am trying to prevent navigation to previous controller using the back button in navigation controller when a textbox is left empty in the present controller.
There where many suggestion here but few comments said of the suggestions being a private method.