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 5 to hide rightBarButtonItem
self.navigationItem.rightBarButtonItem?.customView?.isHidden = true