I need to hide the right button in the Navigation Bar, then unhide it after the user selects some options.
Unfortunately, the following doesn\'t work:
For Swift 3
if let button = self.navigationItem.rightBarButtonItem { button.isEnabled = false button.tintColor = UIColor.clear }`