First of all, I do not want to use storyboards at all. I can βsubmitβ the target view controller, but I cannot get it to show the standard iOS back button at the top. My understanding is that I can make this work by clicking on the controller instead of presenting it. I get no errors, but nothing happens.
When a button is pressed, this code starts. The commented code is what is successfully presented in the ForgotPasswordPage file:
// Changes to the forgotten password page
func forgotPasswordSwitch(sender: UIButton!) { //let ForgotPassword:ForgotPasswordPage = ForgotPasswordPage() //self.presentViewController(ForgotPassword, animated: true, completion: nil) let ForgotPassword = ForgotPasswordPage() self.navigationController?.pushViewController(ForgotPassword, animated: true) }
source share