Skip to content

Instantly share code, notes, and snippets.

@licvido
Created March 7, 2015 15:01
Show Gist options
  • Save licvido/d78861b75bdc15b28acf to your computer and use it in GitHub Desktop.
Save licvido/d78861b75bdc15b28acf to your computer and use it in GitHub Desktop.
SWIFT: Change text (or hide) of back button in navigation
// in controller returned to
let backButton = UIBarButtonItem(title: "Home/Return or nohing", style: .Bordered, target: nil, action: nil)
navigationItem.backBarButtonItem = backButton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment