swift remove icon from back button code example Example: remove back button swift self.navigationItem.setHidesBackButton(true, animated: true);